Skip to content

vue-language-server doesn't work properly #10349

Discussion options

You must be logged in to vote

What vue-language-server version are you using? After 2.0.0 release things got a bit different: tt's now a typescript plugin as well:

You can install the plugin (globally) using:

 npm install -g @vue/typescript-plugin

This is what I have:

[[language]]
name = "vue"
auto-format = false
formatter = { command = "prettier", args = ["--parser", "vue"] }
language-servers = ["vuels", "typescript-language-server", "emmet-lsp", "scls"] # Emmet en snippet completion for the last 2

[[language-server.typescript-language-server.config.plugins]]
name = "@vue/typescript-plugin"
location = "/full/path/to/typescript/plugin/@vue/typescript-plugin"
languages = ["vue"]

# Bonus, here's my Astro config:
[[lan…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@alimulap
Comment options

Answer selected by alimulap
Comment options

You must be logged in to vote
0 replies
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
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #10348 on April 11, 2024 17:07.