How to do it...

  1. In the JavaScript section, write:
        new Vue({el:'#app'})
  1. In the HTML quadrant, we create the <div>:
        <div id="app">          {{'Hello ' + 'world'}}        </div>
  1. Click the Run button in the upper-left corner; we see the page greeting us with Hello world:

Get Vue.js 2 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.