Skip to content

What is vetur.useWorkspaceDependencies for? #2664

Answered by yoyo930021
fabis94 asked this question in Q&A
Discussion options

You must be logged in to vote

Vetur will use TypeScript language service for many features in JavaScript/TypeScript.

TypeScript language server is in TypeScript package.

When this option is true, Vetur will try to find TypeScript package in your project.
If you have custom TypeScript version in your project,
Vetur will use it.

When false, Vetur will use built-in TypeScript package.

This option doesn't only effect TypeScript.
Same behavior for any features needs to other packages.
But your problem look like TypeScript package.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fabis94
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants