vue
Version:
Simple, Fast & Composable MVVM for building interative interfaces
54 lines (35 loc) • 1.73 kB
Markdown
<p align="center"><a href="http://vuejs.org" target="_blank"><img src="http://vuejs.org/images/logo.png"></a></p>
vue.js [](https://travis-ci.org/yyx990803/vue)
Simple, Fast & Composable MVVM for building interative interfaces.
# Introduction
Vue.js is a library that aims to simplify the development of interactive interfaces.
Technically, it provides the **ViewModel** layer of the MVVM pattern, which connects the **View** (the actual HTML that the user sees) and the **Model** (JSON-compliant plain JavaScript objects) via two way data-bindings.
Philosophically, the goal is to allow the developer to embrace an extremely minimal mental model when dealing with interfaces - there's only one type of object you need to worry about: the ViewModel. It is where all the view logic happens, and manipulating the ViewModel will automatically keep the View and the Model in sync. Actuall DOM manipulations and output formatting are abstracted away into **Directives** and **Filters**.
For more details, guides and documentations, visit [vuejs.org](http://vuejs.org).
# Browser Support
- Most Webkit/Blink-based browsers
- Firefox 4+
- IE9+ (IE9 needs [classList polyfill](https://github.com/remy/polyfills/blob/master/classList.js) and doesn't support transitions)
# Development
``` bash
in case you don't already have them:
npm install -g grunt-cli component
npm install
component install
```
To build:
``` bash
grunt build
```
To watch and auto-build dev version during development:
``` bash
grunt watch
```
To test:
``` bash
if you don't have these yet:
npm install -g phantomjs casperjs
grunt test
```
# License
MIT