nuxt-structure-with-modules
                                
                                 nuxt-structure-with-modules copied to clipboard
                                
                                    nuxt-structure-with-modules copied to clipboard
                            
                            
                            
                        Automated tooling or way to auto adapt to this structure
Hi @areindl ,
Thank you for this sample. I was wondering if there's a way where we can extend nuxt core so as to auto read our new dir structure?
Currently we need to define our strategy in a module's index.js, which seems a little overhead everytime we define a new module.
Hi @apgapg!
Yes. Makes sense. I will think about it.
Do you have an idea about doing that?
Some parts we can do automatically like registering components by writing a script. Little skeptical about auto route generation part (although manually can be done). Similarly for store we can have that but all this tooling script will be external and nothing i can think of directly adding them by extending nuxt core
Maybe some webpack related configuration can help 🤔
@apgapg @rodolfo-santos with Nuxt 3's new module loading, the need to register the module is not loading existing.
Check out my last commit. The module is loading loading automatically.
What's left is the auto-registry of routes. I have mixed feelings about it. Do you think it is necessary?