VueJS - Instance


Basic to get started with real time application in Vue JS:
 a) Creating a root Vue Instance with declarative rendering
 Ex : In index.html


      <div id="vueapp">
      {{ content }}
      </div>


Ex : In index.js

   
      var app = new Vue({
          el: '#vueapp',
          data: {
          content: 'Hello VueJS'
       }
   })


 b) Binding element attributes in VueJS
 Ex :
 Including vue library in the html :