Installation

Release Notes

Latest beta version: 3.0.0-rc.1

Detailed release notes for each version are available on GitHubInstallation - 图1.

Vue Devtools

Currently not available for Vue 3

When using Vue, we recommend also installing the Vue DevtoolsInstallation - 图2 in your browser, allowing you to inspect and debug your Vue applications in a more user-friendly interface.

CDN

For prototyping or learning purposes, you can use the latest version with:

  1. <script src="https://unpkg.com/vue@next"></script>

For production, we recommend linking to a specific version number and build to avoid unexpected breakage from newer versions.

NPM

NPM is the recommended installation method when building large scale applications with Vue. It pairs nicely with module bundlers such as WebpackInstallation - 图3 or BrowserifyInstallation - 图4. Vue also provides accompanying tools for authoring Single File Components.

  1. # latest stable
  2. $ npm install vue@next

CLI

Vue provides an official CLIInstallation - 图5 for quickly scaffolding ambitious Single Page Applications. It provides batteries-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. See the Vue CLI docsInstallation - 图6 for more details.

TIP

The CLI assumes prior knowledge of Node.js and the associated build tools. If you are new to Vue or front-end build tools, we strongly suggest going through the guide without any build tools before using the CLI.

For beta, Vue CLI now has experimental support via vue-cli-plugin-vue-nextInstallation - 图7.