Installation

Compatibility Note: Vue.js does not support IE8 and below.

Standalone

Simply download and include with a script tag. Vue will be registered as a global variable.

Development Version
124.76kb, plenty of comments and debug/warning messages.

Production Version
41.8kb minified / 14.29kb gzipped

Also available on cdnjs (takes some time to sync so the latest version might not be available yet).

Component

1
$ component install yyx990803/vue
1
var Vue = require('vue')

For edge version (unstable branch, use at your own risk!):

1
$ component install yyx990803/vue@dev

Browserify

1
$ npm install vue
1
var Vue = require('vue')

For edge version:

1
$ npm install yyx990803/vue#dev

The built version in dist/ doesn’t work with Browserify because it assumes it’s loaded in global scope and comes with its own require mechanism. Always directly use source version when using Vue with Browserify.

Bower

1
$ bower install vue
1
<script src="bower_components/vue/dist/vue.js">

AMD Module Loaders

e.g. RequireJS, SeaJS: Built versions in /dist or installed via Bower is wrapped with UMD so it can be used directly as an AMD module.

Ready?

Let’s Get Started.