Skip to content

Commit

Permalink
readme + grunt build
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 24, 2013
1 parent 8c9c24e commit 9758efe
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
6 changes: 6 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ module.exports = function( grunt ) {
require('./' + path)(grunt)
})

grunt.registerTask( 'build', [
'componentbuild',
'uglify',
'size'
])

grunt.registerTask( 'test', [
'componentbuild',
'jsc',
Expand Down
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
# VueJS
# VueJS [![Build Status](https://travis-ci.org/yyx990803/vue.png?branch=master)](https://travis-ci.org/yyx990803/vue)

Data-driven, modular & lightweight ViewModels

[![Build Status](https://travis-ci.org/yyx990803/vue.png?branch=master)](https://travis-ci.org/yyx990803/vue)
> Simple, fast, modular & lightweight MVVM library for building interactive user interfaces.
## Features

- 10kb gzipped, no dependency.
- DOM based templates with two-way data binding.
- 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.
- Extendable with custom directives and filters.
- Auto dependency extraction for computed properties.
- Auto dependency tracking for expressions and computed properties.
- Auto event delegation on repeated items.
- Flexible API that allows easy encapsulation of components.
- Supports partials, transitions and nested view models.
- Flexible API that encourages composition of components.
- 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.

## Browser Support
Expand All @@ -27,15 +25,21 @@ Data-driven, modular & lightweight ViewModels

**Component**

$ component install yyx990803/vue
``` bash
$ component install yyx990803/vue
```

**Browserify**

$ npm install vue
``` bash
$ npm install vue
```

**Bower**

$ bower install vue
``` bash
$ bower install vue
```

**Module Loaders, e.g. RequireJS, SeaJS**

Expand All @@ -56,7 +60,7 @@ $ component install

To build:
``` bash
$ grunt componentbuild
$ grunt build
```

To watch and auto-build dev version during development:
Expand Down

0 comments on commit 9758efe

Please sign in to comment.