Vue.js does not support IE8 and below, because Vue.js uses ECMAScript 5 features that are un-shimmable in IE8. However Vue.js supports all ECMAScript 5 compliant browsers.
Detailed release notes for each version are available on GitHub.
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.
Available on jsdelivr or cdnjs (takes some time to sync so the latest version might not be available yet).
Also available on unpkg, which will reflect the latest version as soon as it is published to npm. You can also browse the source of the npm package at unpkg.com/vue/.
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
Vue.js provides an official CLI for quickly scaffolding ambitious Single Page Applications. It provides battery-included build setups for a modern frontend workflow. It takes only a few minutes to get up and running with hot-reload, lint-on-save and production-ready builds:
# install vue-cli $ npm install -g vue-cli # create a new project using the "webpack" boilerplate $ vue init webpack my-project # install dependencies and go! $ cd my-project $ npm install $ npm run dev
Important: the CommonJS bundle distributed on NPM (vue.common.js
) is only checked-in during releases on the master
branch, so the file in the dev
branch is the same as the stable release. To use Vue from the latest source code on GitHub, you will have to build it yourself!
git clone https://github.com/vuejs/vue.git node_modules/vue cd node_modules/vue npm install npm run build
# 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.
© 2013–2017 Evan You, Vue.js contributors
Licensed under the MIT License.
https://v1.vuejs.org/guide/installation.html