whatisgithub

What is vetur?

vuejs/vetur — explained in plain English

Analysis updated 2026-06-26

5,752TypeScriptAudience · developerComplexity · 1/5LicenseSetup · easy

In one sentence

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.

Mindmap

mindmap
  root((Vetur))
    Editor Features
      Syntax highlighting
      Error checking
      Auto-complete
      Code formatting
      Emmet support
    Tools
      VS Code extension
      VTI CLI checker
      Vue Language Server
    Status
      Maintenance mode
      Volar recommended
      Vue 2 primary use
    Tech
      TypeScript
      Vue.js files
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Install Vetur in VS Code to get proper syntax highlighting and IntelliSense auto-complete when working on a Vue 2 project.

USE CASE 2

Run VTI from the command line in a CI pipeline to catch template type errors in Vue files before deploying to production.

USE CASE 3

Use Vetur formatter to keep all .vue files consistently styled across a team project without manual formatting.

What is it built with?

TypeScriptVue.jsVS Code

How does it compare?

vuejs/veturaleksey-hoffman/sigma-file-managercan1357/oh-my-pi
Stars5,7525,7495,755
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyeasyeasy
Complexity1/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

So what is it?

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.

Copy-paste prompts

Prompt 1
Set up Vetur in VS Code for a Vue 2 project and configure it to show TypeScript errors inside template blocks.
Prompt 2
How do I use VTI (Vetur Terminal Interface) to check for type errors in all .vue files in my project from the command line in a CI pipeline?
Prompt 3
Configure Vetur to use Prettier for the script block and the built-in formatter for the template block in my Vue project settings.
Prompt 4
What is the difference between Vetur and Volar for Vue development in VS Code, and when should I still use Vetur?

Frequently asked questions

What is vetur?

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.

What language is vetur written in?

Mainly TypeScript. The stack also includes TypeScript, Vue.js, VS Code.

How hard is vetur to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is vetur for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.