Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

368
Vistas
How do I prevent Vetur and TypeScript from both showing typescript warnings in VSCode?

I'm working on a Vue2 project that uses TypeScript. I'm using VSCode with the Vetur and TypeScript extensions installed.

Whenever a TypeScript warning occurs, the VSCode overlay shows the identical warning being reported by both TypeScript and Vetur.

warnings

Additionally, any intellisense menus show the options twice.

intellisense

I'd like to keep both extensions installed. How can I get them to play nice with each other and only display the warnings once?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

It may be because both extensions are using different versions of TS. Vetur has a setting to use the workspace version of TS (simply from node_modules) and I bet TS extension for VS will have something similar.

Also note that Vetur is no longer officially recommended tool to use with Vue+TS but Volar is - from my personal experience, it is really better and more actively develop (even have support for script setup with no perfect but pretty decent auto-conversion between Options API/Composition API and script setup)

While Volar says it is designed for Vue 3, it still works fine with Vue 2 and the composition API. So it should be safe to disable Vetur in VSCode if you have Volar enabled.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda