N
Nuxt15mo ago
Mole

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
Mole
Mole15mo ago
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...
Cake
Cake15mo ago
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
Want results from more Discord servers?
Add your server