Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

167
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda