Closed
Description
Info
- Platform: Win
- Vetur version: v0.33.1
- VS Code version: 1.54.1
Problem
I have a VS Code workspace with many projects, one is the Vue frontend and all the others are backend services running .Net Core. On loading VS Code, I get dozens of messages about Vetur not being able to find tsconfig.json or jsconfig.json relating to the .Net Core services which obviously won't have those files. How can I stop Vetur showing these messages without adding any Vetur config files to those projects? They are not frontend projects so shouldn't be littered with frontend related config files. Thanks in advance!
Reproducible Case
- Create a new workspace file in VS Code
- Add a Vue project to workspace
- Add a .Net Core project to workspace
- Open VS Code and you should see those messages
Activity
yoyo930021 commentedon Mar 9, 2021
https://vuejs.github.io/vetur/guide/FAQ.html#vetur-can-t-find-tsconfig-json-jsconfig-json-in-xxxx-xxxxxx
jacrosby commentedon Mar 9, 2021
Thanks, I had seen that but missed the crucial line about the VS Code setting!
caiqichang commentedon Jun 10, 2021
@yoyo930021
https://vuejs.github.io/vetur/docs/guide/setup.html#project-setup
https://vuejs.github.io/vetur/docs/guide/setup.html#advanced
retuen 404
melroy89 commentedon Oct 30, 2021
Is this file still required for V3? I could not find anything on: https://v3.vuejs.org/. Sorry..
yoyo930021 commentedon Nov 1, 2021
https://vuejs.github.io/vetur/guide/setup.html#project-setup
https://vuejs.github.io/vetur/guide/setup.html#advanced
yoyo930021 commentedon Nov 1, 2021
It is also needed in vue3. Not related to the Vue version.
artnikbrothers commentedon Nov 18, 2021
spent some time to find the line in docs about disabling it. For those like me will just post a screenshot
songwen02 commentedon May 17, 2023
thanks👍
madlife12327 commentedon Jan 4, 2024
vetur only scan your project root folder , please restart vscode and make sure the root folder include
jsconfig.json
ortsconfig.json
.