Vue Js Installation

Posted on  by admin

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. 235.74kb, plenty of comments and debug/warning messages.71.44kb minified / 23.22kb gzipped. 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. The standalone downloads or versions installed via Bower are wrapped with UMD so they can be used directly as an AMD module.

Let’s Get Started. Caught a mistake or want to contribute to the documentation? Fork this site on Github! Install Node.js on Windows: This includes a version manager, package manager, and Visual Studio Code.

The Node Package Manager (npm) is used to install Vue.js. Open a command line (ie. Windows Command Prompt or PowerShell). Create a new project folder: mkdir VueProjects and enter that directory: cd VueProjects. Install Vue.js using Node Package Manager (npm):.

To install Vue.js using a CDN, rather than NPM, see the Vue.js install docs.

Vue Devtools

See the Vue docs for an Explanation of different Vue builds.

Compatibility Note

Microsoft Learn online course: Take your first steps with Vue.js. Try a Vue tutorial with VS Code. 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.