Vue.js config pls 馃檹 #15714
Answered
by
NTARelix
muttering-oldman
asked this question in
Q&A
Vue.js config pls 馃檹
#15714
|
Guys, please share your Vue.js configuration. I've experimented a lot with the settings, but I haven't been able to get the LSP to work. |
Answered by
NTARelix
May 28, 2026
Replies: 1 comment 1 reply
|
My [[language]]
name = "typescript"
language-servers = [{ name = "vtsls" }]
[[language]]
name = "vue"
language-servers = [{ name = "vtsls" }]
auto-format = true
[language-server.vtsls]
command = "vtsls"
args = ["--stdio"]
[[language-server.vtsls.config.vtsls.tsserver.globalPlugins]]
name = "@vue/typescript-plugin"
location = "/etc/vue-typescript-plugin"
languages = ["vue"]
configNamespace = "typescript"
environment.etc = {
"vue-typescript-plugin".source =
"${pkgs.vue-language-server}/lib/language-tools/packages/language-server";
};If you don't use NixOS, then you can probably do a global install of the package with npm and use that path, or clone the vue language server repo, build it, and use the dist path. Here are the contents of and some package info: |
1 reply
Answer selected by
muttering-oldman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My
languages.toml:/etc/vue-typescript-pluginis not a standard location for an npm package. Here's my NixOS config that puts that package in that location: