I guess that the intention of the sample is to convert all contents inside the quotation marks upper case. Otherwise, <p>Hello ${data.name.toUpperCase()}</p> is more applicable.
Then ES6 string template syntax should be used.
Or
whether the template is not compiled correctly?
Should it be compiled this way:
I guess that the intention of the sample is to convert all contents inside the quotation marks upper case. Otherwise,
<p>Hello ${data.name.toUpperCase()}</p>
is more applicable. Then ES6 string template syntax should be used.Or
whether the template is not compiled correctly? Should it be compiled this way: