Use moustache inside moustache brackets in vue?

I’m pretty new to Vue.js and love it so far. There’s only one problem I have: How do I render a string AND things inside the string?
For example:

//…
data:{
string:"hi, {{name}}",
name:"John Doe"
}

{{string}}<!—won’t work —>
<span v-html="string"></span><!—neither this —>

14 thoughts on “Use moustache inside moustache brackets in vue?”

Leave a Comment