nuxt/cli

Detecting layers and adding to `extends`

Opened this issue · 4 comments

when adding a module, layers like nuxt-umami and nuxt-seo-kit should be listed under extends instead of modules like the current bahvior. Layers can be programmatically detected by checking of directory has a nuxt.config.ts file or not. We can check and add it to extends instead of modules ?

@pi0 happy to make the PR :)

pi0 commented

Hi. Can you please explain more in description with a directory structure? Are you thinking to automatically support and scan from layers/[name] and extending them?

@pi0 Sorry, just realized how missed up the description is. Updated it.

And yes, I want to automatically support and extend layers.