nuxt / components

Scan and auto import components for Nuxt.js 2.13+
MIT License
887 stars 48 forks source link

Auto import components with nested directory cant use go to define on Visual Studio Code #233

Open vhalegax opened 3 years ago

vhalegax commented 3 years ago

Guys, I am using Nuxt Auto import components with Nuxt 2.15.8, I have components inside nested directory, like this

Components/ App/ Table.vue

I am calling in a template like this "AppTable />", but somehow when i click Ctrl + Mouse Hoover in "AppTable />", I can't use Go To define feature on visual studio code. Does anyone know how to fix this? please help and thanks anyway ^_^

Karlitooooo commented 1 year ago

Any news on that ? i got the same problem

vhalegax commented 1 year ago

Any news on that ? i got the same problem

You can use "Go To Define" with auto import component in nuxt 3

xxFREESHROUDxx commented 11 months ago

I was also having difficulties using "go to definition" but here's thing that you can do to solve it: This can help with navigating to auto-imported components

Please check if this helped or not as I read this somewhere on the internet and people said that it worked. Although, it didn't worked for me and now I am trying to disable auto imports for components folder.