nuxt icon indicating copy to clipboard operation
nuxt copied to clipboard

Stores array of folder configuration

Open xorbis opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Trying to load store files from multiple folders, I have found that the feature does not support the same configuration as components.

Describe the solution you'd like

Allow stores configuration in nuxt.config.js to be able to load store modules from multiple folders.

{
  stores: ["~/store", "~/mylib/store"]
}

Describe alternatives you've considered

Thought of using soft links but they are a pain to maintain.

Additional context

See https://nuxtjs.org/docs/configuration-glossary/configuration-components/#overwriting-components

xorbis avatar May 31 '22 13:05 xorbis

Anyone has insights on this? Can I do a PR to add the feature? Will read up on that.

xorbis avatar Jun 13 '22 15:06 xorbis