Open
Description
Describe the feature
When working with Nuxt Layers and you add a Nuxt module using the Nuxt Devtools or using nuxi nuxi module add tailwind
it adds the module to the root nuxt.config.ts
file and this is not configurable.
My nuxt.config.ts
file is only for extending layers and I do not want Nuxt to add modules here. It would be very nice if this was configurable (or if asked me which nuxt.config.ts to use) so that I can specify which nuxt.config.ts
file I actually want it to use. Maybe before adding the module it could ask me which one I want it to add the module to.
common
└─ components
└─ composables
└─ nuxt.config.ts <------ I actually want nuxi to add the module here
users
└─ components
└─ composables
└─ nuxt.config.ts
nuxt.config.ts <--------- it adds it here (root)
Additional information
- Would you be willing to help implement this feature?
- Could this feature be implemented as a module?
Final checks
- Read the contribution guide.
- Check existing discussions and issues.