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 using volar with lerna monorepo and opening vue files from different sub-packages/projects then it might start using tsconfig from a different sub-package/project.
If you haven't opened any vue files from specific sub-package/project after opening the project in VSCode then Volar will load up correct tsconfig for that sub-package/project. But once you start opening vue files from sub-packages/projects with already loaded tsconfig then the latest loaded tsconfig will be used.
Setup
Visual Studio code - v1.66.1
Vue Language Features (Volar) - v0.34.6
TypeScript Vue Plugin (Volar) - v0.34.6
Windows 10
Summary
When using volar with lerna monorepo and opening vue files from different sub-packages/projects then it might start using tsconfig from a different sub-package/project.
If you haven't opened any vue files from specific sub-package/project after opening the project in VSCode then Volar will load up correct tsconfig for that sub-package/project. But once you start opening vue files from sub-packages/projects with already loaded tsconfig then the latest loaded tsconfig will be used.
Setup
Visual Studio code - v1.66.1
Vue Language Features (Volar) - v0.34.6
TypeScript Vue Plugin (Volar) - v0.34.6
Windows 10
Steps to reproduce
Repro repo - https://github.com/yottaltd/volar-monorepo
npm install
andnpm run init
(this can probably be skipped just doing a lerna init)projects/ui/src/button/VButton.vue
and in the bottom statusbar you will see thatprojects/ui/tsconfig.json
is used once loading is doneprojects/app/src/components/HelloWorld.vue
and in the bottom statusbar you will see thatprojects/app/tsconfig.json
is used once loading is doneVButton.vue
file, statusbar will still be showing thatprojects/app/tsconfig.json
is usedThe text was updated successfully, but these errors were encountered: