I can't make backticks to enable string interpolation in any .js
file in Visual Studio code. They work fine in .vue
files, however.
The following line gets evaluated as a "dumb" string:
`$(name.value) is your name`
Is there a setting to add/remove for VS.Code to make string interpolation work?
CodePudding user response:
Change to this.
`${name.value} is your name`