Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

166
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!