Skip to content

Add ability to break modules into subfiles #432

Open
@ghost

Description

Is it possible to break modules in
store/

  • moduleName.ts
    into
    store/
    |-moduleName/
    ||--[index.ts, mutations.ts, getters.ts, mutation-types.ts, etc]

A problem is, when You use vanilla style, by default nuxt recognises each file in submodule directory as submodule, not a helper file. And does not work as expected.

So, Is it possible to break single vuex module file into directory with the same name and index + support files as in the screenshot below?

Снимок экрана 2020-08-18 в 12 22 25

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions