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

168
Vistas
Is there a way to get Vue highlight in vscode using without build tools method?

I'm trying to use Vue without build tools. When not using the build tools, you create a component like this

app.component('btn', {
    props: {
      text: {
        type: String,
        default: 'Button Text',
      }
    },
    methods: {
      onClick() {
        this.$emit('btn-click');
      }
    },
    template: `<button @click="onClick()" class="btn btn-primary font--medium">{{ text }}</button>`,
});

but in visual studio code, the template has no highlighting. Is there an extension out there that gives this a syntax highlight?

Or is there an alternative way of creating a template?

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

0

Nevermind. I found a vscode extension that does the job.

Putting it here for others with similar problem.

https://marketplace.visualstudio.com/items?itemName=faisalhakim47.vue-inline-template

about 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