Edit in JSFiddle

var vm = new Vue({
  el: '#vue-instance',
  data: {
    greeting: 'Hello VueJs!'
  }
});
<div id="vue-instance">
  <!-- this will be the DOM element we will mount our VueJs instance to -->
  Enter a greeting:
  <input type="text" v-model="greeting">
  <pre>{{ $data | json }}</pre>
</div>

              

External resources loaded into this fiddle: