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 Version235.74kb, plenty of comments and debug/warning messages.

Production Version71.44kb minified / 23.22kb gzipped

CDN

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

CSP-compliant build

Some environments, such as Google Chrome Apps, enforces Content Security Policy (CSP) and does not allow the use of new Function() for evaluating expressions. In these cases you can use the CSP-compliant build instead.

NPM

1
2
3
4
5
$ npm install vue
# for csp-compliant version:
$ npm install vue@csp
# for dev build (from GitHub):
$ npm install yyx990803/vue#dev

Bower

1
2
# only stable version is available through Bower
$ bower install vue

AMD Module Loaders

The standalone downloads or versions installed via Bower are wrapped with UMD so they can be used directly as an AMD module.

Ready?

Let’s Get Started.