Vuex store nested modules API proposal

rlindskog
9
rlindskog
commented 2 years ago

Is it possible to replicate the pages nested directory structure for the store and nested modules?

What I mean is something like:

store/
  index.js
  user/
    index.js
    profile/
      index.js
      articles.js

vs what is currently

store/
  index.js
  user.js
  user/
    profile.js
    profile/
      articles.js

Just feels more "nuxt" like to me.

idea
1
galvez
3.9k
galvez
commented 10 months ago

@Atinux @clarkdo @manniL think this is closable by now.

0
manniL
5.0k
manniL
commented 10 months ago

As @galvez pointed out, this already works out of the box in modules mode.

0
Informations
Feature Request โ€ข Implemented
#c1406 - Created 2 years ago