Repository nuxt.js

Vuex store nested modules API proposal

rlindskog
6
rlindskog
commented a year 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
95
galvez
commented 11 days ago

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

0
manniL
759
manniL
commented 11 days ago

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

0
Informations
Feature RequestImplemented
#c1406 - Created a year ago