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

Fix instance search for differently named imports #26

Closed martinascharrer closed 2 years ago

martinascharrer commented 2 years ago

Often components are imported with a different name than their file name. Therefore, in case no component instance has been found in a dependent, the imported name is extracted from the file and used for another instance search.

Resolves #19