diff --git a/src/guide/installation.md b/src/guide/installation.md index 04b6f930bb..7586007b45 100644 --- a/src/guide/installation.md +++ b/src/guide/installation.md @@ -2,7 +2,7 @@ ## Release Notes -Latest beta version: 3.0.0-beta.14 +Latest beta version: 3.0.0-beta.121 Detailed release notes for each version are available on [GitHub](https://github.com/vuejs/vue-next/releases). @@ -22,18 +22,13 @@ For prototyping or learning purposes, you can use the latest version with: For production, we recommend linking to a specific version number and build to avoid unexpected breakage from newer versions. -Make sure to read about [the different builds of Vue](#explanation-of-different-builds) and use the **production -version** in your published site, replacing `vue.js` with `vue.min.js`. This is a smaller build optimized for speed instead of development experience. - ## NPM -> Currently not available for Vue 3 - NPM is the recommended installation method when building large scale applications with Vue. It pairs nicely with module bundlers such as [Webpack](https://webpack.js.org/) or [Browserify](http://browserify.org/). Vue also provides accompanying tools for authoring [Single File Components](../guide/single-file-component.html). ```bash # latest stable -$ npm install vue +$ npm install vue@next ``` ## CLI @@ -45,201 +40,3 @@ The CLI assumes prior knowledge of Node.js and the associated build tools. If yo ::: For beta, Vue CLI now has experimental support via [vue-cli-plugin-vue-next](https://github.com/vuejs/vue-cli-plugin-vue-next). - -## Explanation of Different Builds - -In the [`dist/` directory of the NPM package](TODO) you will find many different builds of Vue.js. Here's an overview of the difference between them: - -| | UMD | CommonJS | ES Module (for bundlers) | ES Module (for browsers) | -| ----------------------------- | ------------------ | --------------------- | ------------------------ | ------------------------ | -| **Full** | vue.js | vue.common.js | vue.esm.js | vue.esm.browser.js | -| **Runtime-only** | vue.runtime.js | vue.runtime.common.js | vue.runtime.esm.js | - | -| **Full (production)** | vue.min.js | - | - | vue.esm.browser.min.js | -| **Runtime-only (production)** | vue.runtime.min.js | - | - | - | - -### Terms - -- **Full**: builds that contain both the compiler and the runtime. - -- **Compiler**: code that is responsible for compiling template strings into JavaScript render functions. - -- **Runtime**: code that is responsible for creating Vue instances, rendering and patching virtual DOM, etc. Basically everything minus the compiler. - -- **[UMD](https://github.com/umdjs/umd)**: UMD builds can be used directly in the browser via a `