You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When frontend project is located inside some subdirectory of folder opened by VS Code, Vetur fails to correctly resolve @ shortcuts in includes, says, for example: Cannot find module '@/utilities/some'., while code keeps compiling succesfully.
And, while it doesn't show such warning for *.vue files, it looks up them incorrectly, showing results from shims-vue.d.ts instead of actual file
Info
Problem
When frontend project is located inside some subdirectory of folder opened by VS Code, Vetur fails to correctly resolve @ shortcuts in includes, says, for example:
Cannot find module '@/utilities/some'.
, while code keeps compiling succesfully.And, while it doesn't show such warning for *.vue files, it looks up them incorrectly, showing results from shims-vue.d.ts instead of actual file
Reproducible Case
I created example repository here:
https://github.com/mlesin/vetur-bug
Steps to reproduce:
npm ci
fromfrontend
subdirectoryvertur-bug
with File/Open Folder... in VS Codefrontend/src/App.vue
fileKnown workaround
If you open
vertur-bug/frontend
as a separate project in VS Code, everything works as expected.The text was updated successfully, but these errors were encountered: