devtools
devtools copied to clipboard
feat: layers tab
đ Your use case
A Layers tab would be great! It can be the same as Modules tab, except for installing new layers I think we need a repository similar to nuxt modules
đ The solution you'd like
maybe for now we can only show the active layers of project, and get the layer's information from registry.npmjs.org/layer-name
đ Alternatives you've considered
No response
âšī¸ Additional info
No response
We need to start creating nuxt/layers like nuxt/modules
I was thinking the layers features should be baked in each tab, as a dropdown or filter to display. For example, the components tab list all components, while indicating some components from which layer. While a layers tab list all of them for more detailed information is also indeed helpful.
I was thinking the layers features should be baked in each tab, as a dropdown or filter to display. For example, the components tab list all components, while indicating some components from which layer. While a layers tab list all of them for more detailed information is also indeed helpful.
This would be really useful!
Right now there is no 'Nuxt config' view but I think it would be useful to be able to view each layer's nuxt.config.ts as well as the merged result config.
Each layer sets, merges or overwrites configs set by layers of lower priority it's a bit difficult to debug the merged config, would a view similar to https://github.com/antfu/vite-plugin-inspect?tab=readme-ov-file#vite-plugin-inspect be possible?
Working on a layer configuration view similar to what I described, would this be useful?
That looks pretty cool! Sure please go ahead :)
This is beautiful @BobbieGoede