cli icon indicating copy to clipboard operation
cli copied to clipboard

Detecting layers and adding to `extends`

Open adhamfarrag opened this issue 2 years ago • 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 ?

adhamfarrag avatar Sep 19 '23 17:09 adhamfarrag

@pi0 happy to make the PR :)

adhamfarrag avatar Sep 19 '23 17:09 adhamfarrag

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 avatar Sep 19 '23 17:09 pi0

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

adhamfarrag avatar Sep 19 '23 17:09 adhamfarrag

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

adhamfarrag avatar Sep 19 '23 17:09 adhamfarrag