Data Binding in Vue.js

January 8, 2018

We will see how to do data binding in Vue.js

You can not use {{ }} with HTML attributes
For example, following syntax is not going to work

  
 Clcik Here 

Insted you can use

  Clcik Here 

This is another syntax to achive same result

  Clcik Here 

This is the compled code for above example



  
    
    
    
    Hello World !
  
  

  
{{msg}}
Click Here