Question · Vue.js course · Module 2: Template Syntax

Interpolation Syntax

How do you insert a variable into a Vue template?

Answer options

  • ${variable}
  • {{ variable }}
  • [variable]
  • (variable)
Show the answer

Correct answer:

  • {{ variable }}