Vue.js is a library for building modern web interfaces.
It provides data-reactive components with a simple and flexible API.
1 2 3 4 | <div id="demo"> <p>{{message}}</p> <input v-model="message"> </div> |
1 2 3 4 5 6 | var demo = new Vue({ el: '#demo', data: { message: 'Hello Vue.js!' } }) |
{{message}}
Write some HTML, grab some JSON, create a Vue instance, that's it.
Expressions & computed properties with transparent dependency tracking.
Compose your application with decoupled, reusable components.
~22kb min+gzip, no dependency.
Precise and efficient async batch DOM updates.
Install via NPM, Bower or Duo - leverage your favorite eco system!