type | order | vue_version | dev_size | min_size | gz_size |
---|---|---|---|---|---|
guide |
0 |
1.0.10 |
240.69 |
68.54 |
23.46 |
Compatibility Note: Vue.js does not support IE8 and below.
Simply download and include with a script tag. Vue
will be registered as a global variable. Pro tip: don't use the minified version during development. you will miss out all the nice warnings for common mistakes.
Production VersionWarnings stripped, {{gz_size}}kb min+gzip
Available on jsdelivr or cdnjs (takes some time to sync so the latest version might not be available yet).
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 is the recommended installation method when building large scale apps with Vue.js. It pairs nicely with a CommonJS module bundler such as Webpack or Browserify. Vue.js also provides accompanying tools for authoring Single File Components.
# latest stable
$ npm install vue
# latest stable + CSP-compliant
$ npm install vue@csp
# dev build (directly from GitHub):
$ npm install vuejs/vue#dev
# latest stable
$ bower install vue
The standalone downloads or versions installed via Bower are wrapped with UMD so they can be used directly as an AMD module.