nuxt / devtools

Unleash Nuxt Developer Experience
https://devtools.nuxt.com
MIT License
2.81k stars 154 forks source link

feat: detect unused components to help clean up old code #597

Closed acidjazz closed 5 months ago

acidjazz commented 5 months ago

🆒 Your use case

Have a CTA or auto-run something that shows all found components that are not used

🆕 The solution you'd like

A list of all components not found to be used

🔍 Alternatives you've considered

No response

ℹī¸ Additional info

Be very cool to make sure stale code can be removed from the project

acidjazz commented 5 months ago

I imagine <component :is might make this tricky, maybe list where those are as well as a warning

manniL commented 5 months ago

Closing in favor of #358