Skip to content

Commit b5ae377

Browse files
authored
Change recommended links to jsDelivr
1 parent 2186d9d commit b5ae377

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/v2/guide/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ Simply download and include with a script tag. `Vue` will be registered as a glo
3535

3636
### CDN
3737

38-
Recommended: [https://unpkg.com/vue](https://unpkg.com/vue), 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 [https://unpkg.com/vue/](https://unpkg.com/vue/).
38+
Recommended:[https://cdn.jsdelivr.net/npm/vue](https://cdn.jsdelivr.net/npm/vue), 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 [https://www.jsdelivr.com/package/npm/vue/](https://www.jsdelivr.com/package/npm/vue/).
3939

40-
Also available on [jsDelivr](https://cdn.jsdelivr.net/npm/vue/dist/vue.js) or [cdnjs](https://cdnjs.cloudflare.com/ajax/libs/vue/{{vue_version}}/vue.js), but these two services take some time to sync so the latest release may not be available yet.
40+
Also available on [cdnjs](https://cdnjs.cloudflare.com/ajax/libs/vue/{{vue_version}}/vue.js), but this service takes some time to sync so the latest release may not be available yet.
4141

4242
## NPM
4343

@@ -67,7 +67,7 @@ $ npm run dev
6767

6868
## Explanation of Different Builds
6969

70-
In the [`dist/` directory of the NPM package](https://unpkg.com/vue@latest/dist/) you will find many different builds of Vue.js. Here's an overview of the difference between them:
70+
In the [`dist/` directory of the NPM package](https://cdn.jsdelivr.net/npm/vue/dist/) you will find many different builds of Vue.js. Here's an overview of the difference between them:
7171

7272
| | UMD | CommonJS | ES Module |
7373
| --- | --- | --- | --- |
@@ -84,7 +84,7 @@ In the [`dist/` directory of the NPM package](https://unpkg.com/vue@latest/dist/
8484

8585
- **Runtime**: code that is responsible for creating Vue instances, rendering and patching virtual DOM, etc. Basically everything minus the compiler.
8686

87-
- **[UMD](https://github.com/umdjs/umd)**: UMD builds can be used directly in the browser via a `<script>` tag. The default file from Unpkg CDN at [https://unpkg.com/vue](https://unpkg.com/vue) is the Runtime + Compiler UMD build (`vue.js`).
87+
- **[UMD](https://github.com/umdjs/umd)**: UMD builds can be used directly in the browser via a `<script>` tag. The default file from jsDelivr CDN at [https://cdn.jsdelivr.net/npm/vue](https://cdn.jsdelivr.net/npm/vue) is the Runtime + Compiler UMD build (`vue.js`).
8888

8989
- **[CommonJS](http://wiki.commonjs.org/wiki/Modules/1.1)**: CommonJS builds are intended for use with older bundlers like [browserify](http://browserify.org/) or [webpack 1](https://webpack.github.io). The default file for these bundlers (`pkg.main`) is the Runtime only CommonJS build (`vue.runtime.common.js`).
9090

0 commit comments

Comments
 (0)