Skip to content
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
This repository was archived by the owner on Aug 27, 2026. It is now read-only.

Add ability to break modules into subfiles #432

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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