MVVM Made Simple
Vue.js is a library for building interactive web interfaces.
It provides data-driven 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 ViewModel, that's it.
Precise async batch DOM updates. Check out the benchmarks.
Compose your application with decoupled, reusable components.
~13kb minified and gzipped, no dependency.
Expressions and Computed Properties with auto dependency tracking and more.
Component, Browserify or Bower - leverage your favorite eco system!