Gathering detailed insights and metrics for vue-component-type-helpers
Gathering detailed insights and metrics for vue-component-type-helpers
⚡ High-performance Vue language tooling based-on Volar.js
npm install vue-component-type-helpers
Typescript
Module System
Node Version
NPM Version
100
Supply Chain
70.1
Quality
87.6
Maintenance
100
Vulnerability
100
License
TypeScript (84.73%)
Vue (13.05%)
JavaScript (2.14%)
HTML (0.09%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
72,219,156
Last Day
305,458
Last Week
1,523,207
Last Month
6,201,492
Last Year
55,569,799
MIT License
6,012 Stars
5,272 Commits
425 Forks
41 Watchers
4 Branches
204 Contributors
Updated on Feb 14, 2025
Minified
Minified + Gzipped
Latest Version
2.2.0
Package Id
vue-component-type-helpers@2.2.0
Unpacked Size
4.60 kB
Size
1.97 kB
File Count
7
NPM Version
lerna/3.10.1/node@v22.11.0+arm64 (darwin)
Node Version
22.11.0
Published on
Dec 23, 2024
Cumulative downloads
Total Downloads
Last Day
8.3%
305,458
Compared to previous day
Last Week
4.9%
1,523,207
Compared to previous week
Last Month
53.9%
6,201,492
Compared to previous month
Last Year
233.8%
55,569,799
Compared to previous year
No dependencies detected.
⚡ High-performance Vue language tooling based-on Volar.js
💬 #language-tools on our Discord Server
Vue Language Features
@vue/language-server
@vue/typescript-plugin
yaegassy/coc-volar ⚡ 🤝 🅿️
Vue language client for coc.nvim
neovim/nvim-lspconfig ⚡ 🤝
Vue language server configuration for Neovim
@vue/language-server
version ^2.0.0
)Note: The "Take Over" mode has been discontinued. Instead, a new "Hybrid" mode has been introduced. In this mode, the Vue Language Server exclusively manages the CSS/HTML sections. As a result, you must run @vue/language-server
in conjunction with a TypeScript server that employs @vue/typescript-plugin
. Below is a streamlined configuration for Neovim's LSP, updated to accommodate the language server following the upgrade to version 2.0.0
.
For nvim-lspconfig versions below v1.0.0 use tsserver instead of ts_ls, e.g.
lspconfig.ts_ls.setup
1-- If you are using mason.nvim, you can get the ts_plugin_path like this 2-- local mason_registry = require('mason-registry') 3-- local vue_language_server_path = mason_registry.get_package('vue-language-server'):get_install_path() .. '/node_modules/@vue/language-server' 4 5local vue_language_server_path = '/path/to/@vue/language-server' 6 7local lspconfig = require('lspconfig') 8 9lspconfig.ts_ls.setup { 10 init_options = { 11 plugins = { 12 { 13 name = '@vue/typescript-plugin', 14 location = vue_language_server_path, 15 languages = { 'vue' }, 16 }, 17 }, 18 }, 19 filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue' }, 20} 21 22-- No need to set `hybridMode` to `true` as it's the default value 23lspconfig.volar.setup {}
@vue/language-server
version ^2.0.7
)Note: If hybridMode
is set to false
Volar
will run embedded ts_ls
therefore there is no need to run it separately.
For more information see #4119
Make sure you have typescript installed globally or pass the location to volar
Use volar for all .{vue,js,ts,tsx,jsx}
files.
1local lspconfig = require('lspconfig') 2 3-- lspconfig.ts_ls.setup {} 4lspconfig.volar.setup { 5 filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue' }, 6 init_options = { 7 vue = { 8 hybridMode = false, 9 }, 10 }, 11}
Use volar
for only .vue
files and ts_ls
for .ts
and .js
files.
1local lspconfig = require('lspconfig') 2 3lspconfig.ts_ls.setup { 4 init_options = { 5 plugins = { 6 { 7 name = '@vue/typescript-plugin', 8 location = '/path/to/@vue/language-server', 9 languages = { 'vue' }, 10 }, 11 }, 12 }, 13} 14 15lspconfig.volar.setup { 16 init_options = { 17 vue = { 18 hybridMode = false, 19 }, 20 }, 21}
Check out this discussion
mattn/vim-lsp-settings ⚡
Vue language server auto configuration for vim-lsp
sublimelsp/LSP-volar 🤝
Vue language client for Sublime
kabiaa/atom-ide-volar
Vue language client for Atom
emacs-lsp/lsp-mode (jadestrong/lsp-volar) ⚡ 🤝
Vue language client for Emacs
tommasongr/nova-vue
Vue language client for Nova
xiaoxin-sky/lapce-vue
Vue language client for Lapce
Kingwl/monaco-volar
Vue language support for Monaco on Browser
WebStorm
Built-in integration for @vue/language-server
Eclipse WildWebDeveloper
Vue language server configuration for Eclipse
* ⚡ support multiple servers
* 🤝 support take over mode
* 🅿️ support extra preview features
If you want to work on the volar extension follow these commands to set up your local development environment.
🔎 Note that you will need pnpm - you can download it here: https://pnpm.io/installation.
1git clone https://github.com/vuejs/language-tools.git 2cd language-tools 3pnpm install 4pnpm run build
The recommended way to develop the volar extension is to use the Debug Tools provided by VSCode. Alternatively, you can run one of the scripts defined in the package.json file.
❗ You should always use the debug launch configs or package.json scripts defined in the root of the project.
Additional info for contributing to open source projects can be found here: https://docs.github.com/en/get-started/quickstart/contributing-to-projects
To develop with upstream Volar.js modules, you can setup workspace with https://github.com/volarjs/workspace.
No vulnerabilities found.
No security vulnerabilities found.