mirror of https://github.com/vuejs/vue.git
readme + grunt build
This commit is contained in:
parent
8c9c24ee4f
commit
9758efe8df
|
|
@ -86,6 +86,12 @@ module.exports = function( grunt ) {
|
||||||
require('./' + path)(grunt)
|
require('./' + path)(grunt)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
grunt.registerTask( 'build', [
|
||||||
|
'componentbuild',
|
||||||
|
'uglify',
|
||||||
|
'size'
|
||||||
|
])
|
||||||
|
|
||||||
grunt.registerTask( 'test', [
|
grunt.registerTask( 'test', [
|
||||||
'componentbuild',
|
'componentbuild',
|
||||||
'jsc',
|
'jsc',
|
||||||
|
|
|
||||||
28
README.md
28
README.md
|
|
@ -1,8 +1,6 @@
|
||||||
# VueJS
|
# VueJS [](https://travis-ci.org/yyx990803/vue)
|
||||||
|
|
||||||
Data-driven, modular & lightweight ViewModels
|
> Simple, fast, modular & lightweight MVVM library for building interactive user interfaces.
|
||||||
|
|
||||||
[](https://travis-ci.org/yyx990803/vue)
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
|
@ -10,11 +8,11 @@ Data-driven, modular & lightweight ViewModels
|
||||||
- DOM based templates with two-way data binding.
|
- DOM based templates with two-way data binding.
|
||||||
- Precise and efficient DOM manipulation with granularity down to a TextNode.
|
- Precise and efficient DOM manipulation with granularity down to a TextNode.
|
||||||
- POJSO (Plain Old JavaScript Objects) Models that can be shared across ViewModels with arbitrary levels of nesting.
|
- POJSO (Plain Old JavaScript Objects) Models that can be shared across ViewModels with arbitrary levels of nesting.
|
||||||
- Extendable with custom directives and filters.
|
- Auto dependency tracking for expressions and computed properties.
|
||||||
- Auto dependency extraction for computed properties.
|
|
||||||
- Auto event delegation on repeated items.
|
- Auto event delegation on repeated items.
|
||||||
- Flexible API that allows easy encapsulation of components.
|
- Flexible API that encourages composition of components.
|
||||||
- Supports partials, transitions and nested view models.
|
- Extendable with custom directives and filters.
|
||||||
|
- Supports partials, transitions and nested ViewModels.
|
||||||
- Plays well with module systems. Primarily [Component](https://github.com/component/component) based, but can also be used with [Browserify](https://github.com/substack/node-browserify), as a CommonJS/AMD module or as a standalone library.
|
- Plays well with module systems. Primarily [Component](https://github.com/component/component) based, but can also be used with [Browserify](https://github.com/substack/node-browserify), as a CommonJS/AMD module or as a standalone library.
|
||||||
|
|
||||||
## Browser Support
|
## Browser Support
|
||||||
|
|
@ -27,15 +25,21 @@ Data-driven, modular & lightweight ViewModels
|
||||||
|
|
||||||
**Component**
|
**Component**
|
||||||
|
|
||||||
$ component install yyx990803/vue
|
``` bash
|
||||||
|
$ component install yyx990803/vue
|
||||||
|
```
|
||||||
|
|
||||||
**Browserify**
|
**Browserify**
|
||||||
|
|
||||||
$ npm install vue
|
``` bash
|
||||||
|
$ npm install vue
|
||||||
|
```
|
||||||
|
|
||||||
**Bower**
|
**Bower**
|
||||||
|
|
||||||
$ bower install vue
|
``` bash
|
||||||
|
$ bower install vue
|
||||||
|
```
|
||||||
|
|
||||||
**Module Loaders, e.g. RequireJS, SeaJS**
|
**Module Loaders, e.g. RequireJS, SeaJS**
|
||||||
|
|
||||||
|
|
@ -56,7 +60,7 @@ $ component install
|
||||||
|
|
||||||
To build:
|
To build:
|
||||||
``` bash
|
``` bash
|
||||||
$ grunt componentbuild
|
$ grunt build
|
||||||
```
|
```
|
||||||
|
|
||||||
To watch and auto-build dev version during development:
|
To watch and auto-build dev version during development:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue