diff --git a/src/v2/guide/comparison.md b/src/v2/guide/comparison.md index aeb20429cd..b35478256f 100644 --- a/src/v2/guide/comparison.md +++ b/src/v2/guide/comparison.md @@ -111,7 +111,7 @@ React is renowned for its steep learning curve. Before you can really get starte While Vue scales up just as well as, if not better than React, it also scales down just as well as jQuery. That's right - all you have to do is drop a single script tag into a page: ``` html - + ``` Then you can start writing Vue code and even ship the minified version to production without feeling guilty or having to worry about performance problems. diff --git a/src/v2/guide/index.md b/src/v2/guide/index.md index 8c7eeb1d6e..893c02cba7 100644 --- a/src/v2/guide/index.md +++ b/src/v2/guide/index.md @@ -17,7 +17,7 @@ If you are an experienced frontend developer and want to know how Vue compares t The easiest way to try out Vue.js is using the [JSFiddle Hello World example](https://jsfiddle.net/chrisvfritz/50wL7mdz/). Feel free to open it in another tab and follow along as we go through some basic examples. Or, you can simply create an index.html file and include Vue with: ``` html - + ``` The [Installation](installation.html) page provides more options of installing Vue. Note that we **do not** recommend beginners to start with `vue-cli`, especially if you are not yet familiar with Node.js-based build tools. diff --git a/src/v2/guide/installation.md b/src/v2/guide/installation.md index 7cc9d0d413..23a45ed0e3 100644 --- a/src/v2/guide/installation.md +++ b/src/v2/guide/installation.md @@ -35,9 +35,9 @@ Simply download and include with a script tag. `Vue` will be registered as a glo ### CDN -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/). +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://cdn.jsdelivr.net/npm/vue/](https://cdn.jsdelivr.net/npm/vue/). -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. +Also available on [unpkg](https://unpkg.com/vue) and [cdnjs](https://cdnjs.cloudflare.com/ajax/libs/vue/{{vue_version}}/vue.js) (cdnjs takes some time to sync so the latest release may not be available yet). ## NPM @@ -67,7 +67,7 @@ $ npm run dev ## Explanation of Different Builds -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: +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: | | UMD | CommonJS | ES Module | | --- | --- | --- | --- | @@ -84,7 +84,7 @@ In the [`dist/` directory of the NPM package](https://unpkg.com/vue@latest/dist/ - **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 `