VSCode: How to "go to component" for auto-imports?
Alt + click on component takes me to
components.d.ts
. Is there a way to go to the .vue
file directly?2 Replies
https://marketplace.visualstudio.com/items?itemName=antfu.goto-alias
This one takes me to
vue-shim.d.ts
inside .nuxt/types
instead of the component file
Volar takeover mode was not enabled. Enabling it fixed the issue...that works for me 🤔
when I click on
<MediaTable>
, that is media/Table.vue
, It takes me to that file, but first it opens the component.d.ts
so it's like a redirect