This first example of Vue shows that the mustache notation {{ property }}
runs JavaScript expressions. When we mount a Vue application on the DOM element #template
, Vue takes the content of the element as a template and replace those {{ property }}
with values.
Try the following