martinascharrer / vuensight

Visualize Vue.js component relationships and communication channels, i.e. props, events and slots. This developer tool operates on the command line and aims to give in-depth insight into a Vue.js project to support refactoring.
MIT License
204 stars 8 forks source link

Support globally imported components #23

Open martinascharrer opened 2 years ago

martinascharrer commented 2 years ago

Often base components are registered globally for every Vue component with Vue.compont(...) or app.component(...) in Vue 3. What could be a strategy for parsing such components as well?

maoberlehner commented 2 years ago

What could be a strategy ...

Not globally registering components :trollface:

adrienZLeetchi commented 2 years ago

For nuxt projects, you could check the .nuxt\components\index.js file ?