Store and middleware location as aliases
[issue link]Hello guys,
I’m trying to write a nuxt starter library where all my apps will inherit some predefined pages, routes, plugins, etc.
I have the following structure :
For the structure to be complete I’m looking for a way to have nuxt load middlewares and stores from another location than the srcDir (in this case the .portal dir).
I see two ways to achieve that :
- Have
storeandmiddlewareas aliases like the~pluginsso that it can be changed inbuild { extend(config) { ... } } - Instruct nuxt to look for stores and middlewares in multiple locations
For both, I’ll have to fork the project I guess. Is there a way to achieve that with the current API ?
Thanks.