Install Vetur in VS Code to get proper syntax highlighting and IntelliSense auto-complete when working on a Vue 2 project.
Run VTI from the command line in a CI pipeline to catch template type errors in Vue files before deploying to production.
Use Vetur formatter to keep all .vue files consistently styled across a team project without manual formatting.
| vuejs/vetur | aleksey-hoffman/sigma-file-manager | can1357/oh-my-pi | |
|---|---|---|---|
| Stars | 5,752 | 5,749 | 5,755 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | easy | easy | easy |
| Complexity | 1/5 | 2/5 | 4/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Vetur is a Visual Studio Code extension that adds editor support for Vue.js, a JavaScript framework for building web interfaces. When you are writing Vue code in VS Code without any extension, the editor treats the .vue file format as plain text and offers no help. Vetur teaches VS Code how to understand .vue files and provides the features developers expect from a modern editor. The features it adds include syntax highlighting so that the HTML, JavaScript, and CSS sections of a Vue file each appear in their correct colors, error checking and linting to catch mistakes before you run the code, code formatting to keep files consistently styled, and IntelliSense which is the auto-complete dropdown that suggests variable names and component properties as you type. It also supports Emmet, a shorthand notation for writing HTML quickly, and provides hover information and debugging support. Vetur works through a background process called the Vue Language Server, which is the component that does the actual analysis of your code. There is also a terminal tool called VTI that can surface type errors in Vue templates from the command line, useful for running checks in a CI environment. The project is now in maintenance mode. The Vue team's current recommendation for Vue editor tooling is Volar, a newer extension built specifically for Vue 3. Vetur remains available and functional, but new development has moved to Volar. Documentation for Vetur is available at vuejs.github.io/vetur. The extension is MIT licensed.
Vetur is a VS Code extension that adds syntax highlighting, error checking, auto-complete, and code formatting for Vue.js files, it is now in maintenance mode and the Vue team recommends Volar for new projects.
Mainly TypeScript. The stack also includes TypeScript, Vue.js, VS Code.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.