Skip to content

Commit bdb70e4

Browse files
committed
update installation
1 parent 80faee7 commit bdb70e4

File tree

4 files changed

+11735
-11689
lines changed

4 files changed

+11735
-11689
lines changed

src/v2/guide/installation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: 安装
33
type: guide
44
order: 1
5-
vue_version: 2.7.10
6-
gz_size: "37.36"
5+
vue_version: 2.7.14
6+
gz_size: "37.51"
77
---
88

99
### 兼容性
@@ -43,20 +43,20 @@ Vue 在其所有项目中公布的功能和行为都遵循[语义化版本控制
4343
对于制作原型或学习,你可以这样使用最新版本:
4444

4545
``` html
46-
<script src="https://cdn.jsdelivr.net/npm/[email protected].10/dist/vue.js"></script>
46+
<script src="https://cdn.jsdelivr.net/npm/[email protected].14/dist/vue.js"></script>
4747
```
4848

4949
对于生产环境,我们推荐链接到一个明确的版本号和构建文件,以避免新版本造成的不可预期的破坏:
5050

5151
``` html
52-
<script src="https://cdn.jsdelivr.net/npm/[email protected].10"></script>
52+
<script src="https://cdn.jsdelivr.net/npm/[email protected].14"></script>
5353
```
5454

5555
如果你使用原生 ES Modules,这里也有一个兼容 ES Module 的构建文件:
5656

5757
``` html
5858
<script type="module">
59-
import Vue from 'https://cdn.jsdelivr.net/npm/[email protected].10/dist/vue.esm.browser.js'
59+
import Vue from 'https://cdn.jsdelivr.net/npm/[email protected].14/dist/vue.esm.browser.js'
6060
</script>
6161
```
6262

@@ -85,7 +85,7 @@ Vue 提供了一个[官方的 CLI](https://github.com/vuejs/vue-cli),为单页
8585

8686
## 对不同构建版本的解释
8787

88-
[NPM 包的 `dist/` 目录](https://cdn.jsdelivr.net/npm/[email protected].10/dist/)你将会找到很多不同的 Vue.js 构建版本。这里列出了它们之间的差别:
88+
[NPM 包的 `dist/` 目录](https://cdn.jsdelivr.net/npm/[email protected].14/dist/)你将会找到很多不同的 Vue.js 构建版本。这里列出了它们之间的差别:
8989

9090
| | UMD | CommonJS | ES Module (基于构建工具使用) | ES Module (直接用于浏览器) |
9191
| --- | --- | --- | --- | --- |
@@ -102,7 +102,7 @@ Vue 提供了一个[官方的 CLI](https://github.com/vuejs/vue-cli),为单页
102102

103103
- **运行时**:用来创建 Vue 实例、渲染并处理虚拟 DOM 等的代码。基本上就是除去编译器的其它一切。
104104

105-
- **[UMD](https://github.com/umdjs/umd)**:UMD 版本可以通过 `<script>` 标签直接用在浏览器中。jsDelivr CDN 的 [https://cdn.jsdelivr.net/npm/[email protected].10](https://cdn.jsdelivr.net/npm/[email protected].10) 默认文件就是运行时 + 编译器的 UMD 版本 (`vue.js`)。
105+
- **[UMD](https://github.com/umdjs/umd)**:UMD 版本可以通过 `<script>` 标签直接用在浏览器中。jsDelivr CDN 的 [https://cdn.jsdelivr.net/npm/[email protected].14](https://cdn.jsdelivr.net/npm/[email protected].14) 默认文件就是运行时 + 编译器的 UMD 版本 (`vue.js`)。
106106

107107
- **[CommonJS](http://wiki.commonjs.org/wiki/Modules/1.1)**:CommonJS 版本用来配合老的打包工具比如 [Browserify](http://browserify.org/)[webpack 1](https://webpack.github.io)。这些打包工具的默认文件 (`pkg.main`) 是只包含运行时的 CommonJS 版本 (`vue.runtime.common.js`)。
108108

themes/vue/_config.yml

Lines changed: 43 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
site_description: Vue.js - The Progressive JavaScript Framework
22
google_analytics: UA-46852172-3
33
root_domain: v2.cn.vuejs.org
4-
vue_version: 2.7.10
4+
vue_version: 2.7.14
55
# START SPONSORS
66
special:
77
- name: appwrite
88
url: https://appwrite.io
99
img: appwrite.svg
10-
description: Open Source Firebase Alternative
10+
description: Build Fast. Scale Big. All in One Place.
1111
platinum:
1212
- name: VueMastery
1313
url: https://www.vuemastery.com/
@@ -29,13 +29,6 @@ platinum:
2929
url: >-
3030
https://ionicframework.com/vue?utm_source=partner&utm_medium=referral&utm_campaign=vuesponsorship&utm_content=vuedocs
3131
img: ionic.png?v2
32-
- name: ButterCMS
33-
url: >-
34-
https://buttercms.com/vuejs-cms/?utm_source=vuejs.org&utm_medium=banner&utm_campaign=sponsorship
35-
img: buttercms.svg
36-
- name: Sanofi
37-
url: https://www.sanofi.com/
38-
img: sanofi.png
3932
- name: CodeDict
4033
url: https://code-dict.com
4134
img: codedict.svg
@@ -45,21 +38,13 @@ platinum:
4538
- name: HeroDevs
4639
url: https://www.herodevs.com/support/vue
4740
img: herodevs.png
48-
platinum_china:
49-
- name: Aircode
50-
url: https://docs-cn.aircode.io/chatgpt/
51-
img: aircode.png
52-
description: 5 分钟用 JS 接入 ChatGPT
5341
gold:
5442
- name: Volta
5543
url: https://volta.net/?utm_source=vuejs.org&utm_campaign=sponsoring/
5644
img: volta.svg
5745
- name: Laravel
5846
url: https://laravel.com
5947
img: laravel.png
60-
- name: HTML Burger
61-
url: https://htmlburger.com
62-
img: html_burger.png
6348
- name: Tidelift
6449
url: https://tidelift.com/subscription/npm/vue
6550
img: tidelift.png
@@ -106,9 +91,6 @@ gold:
10691
- name: Casinoburst.com
10792
url: https://casinoburst.com/casino-utan-licens/
10893
img: casinoburst_com.png
109-
- name: spinsify.com/uk
110-
url: https://www.spinsify.com/uk/new-casinos
111-
img: spinsify_com_uk.png
11294
- name: 'Enkrypt: Ethereum and Polkadot Web3 Wallet'
11395
url: https://www.enkrypt.com
11496
img: enkrypt__ethereum_and_polkadot_web3_wallet.svg
@@ -121,27 +103,40 @@ gold:
121103
- name: Goread.io
122104
url: https://goread.io/buy-instagram-followers
123105
img: goread_io.png
124-
- name: Twicsy
125-
url: https://twicsy.com/buy-instagram-likes
126-
img: twicsy.png
127106
- name: Sentry
128-
url: sentry.io/for/vue?utm_source=vuejs.org&utm_medium=paid-community
107+
url: https://sentry.io/for/vue?utm_source=vuejs.org&utm_medium=paid-community
129108
img: sentry.png
130-
- name: Famous Fonts
131-
url: https://www.fontbolt.com/
132-
img: famous_fonts.png
133-
- name: Justanotherpanel
134-
url: https://justanotherpanel.com/
135-
img: justanotherpanel.png
136-
- name: Likes.io
137-
url: https://likes.io/buy-instagram-followers
138-
img: likes_io.png
139-
- name: Howsociable
140-
url: https://howsociable.com/buy-instagram-followers/
141-
img: howsociable.png
142109
- name: Poprey.com
143110
url: https://poprey.com/
144111
img: poprey_com.png
112+
- name: Ilmaiset Pitkävetovihjeet
113+
url: https://www.vedonlyontibonukset.com/pitkavetovihjeet
114+
img: ilmaiset_pitk_vetovihjeet.png
115+
- name: Metoree
116+
url: https://us.metoree.com/
117+
img: metoree.png
118+
- name: Famoid
119+
url: https://famoid.com/
120+
img: famoid.png
121+
- name: Certible
122+
url: https://www.certible.com
123+
img: certible.svg
124+
- name: FORTUNE GAMES
125+
url: https://www.fortunegames.com
126+
img: fortune_games.png
127+
- name: TBDC - Agro Software
128+
url: http://tbdc.com.br/
129+
img: tbdc___agro_software.svg
130+
- name: Nokori
131+
url: >-
132+
https://nokori.com?utm_source=github&utm_medium=banner&utm_campaign=awareness&utm_id=github_vue
133+
img: nokori.png
134+
- name: Justanotherpanel
135+
url: https://justanotherpanel.com/
136+
img: justanotherpanel.png
137+
- name: FineProxy
138+
url: https://fineproxy.org/
139+
img: fineproxy.svg
145140
silver:
146141
- name: Draxlr
147142
url: https://www.draxlr.com
@@ -161,15 +156,18 @@ silver:
161156
- name: Codesmith
162157
url: https://codesmith.io
163158
img: codesmith.png
164-
- name: Gcore
165-
url: https://gcore.com
166-
img: gcore.png
167-
- name: awisee.agency
168-
url: https://awisee.agency
169-
img: awisee_agency.png
170159
- name: Optimizers
171160
url: https://www.optimizers.nl
172161
img: optimizers.png
162+
- name: Nettcasino
163+
url: https://www.nettcasino.com/
164+
img: nettcasino.png
165+
- name: FORTUNE GAMES
166+
url: https://www.fortunegames.com
167+
img: fortune_games.png
168+
- name: Indy
169+
url: https://www.indy.fr/
170+
img: indy.png
173171
bronze:
174172
- name: Derek Pollard
175173
url: https://polyglotengineer.com/derek.pollard
@@ -192,6 +190,9 @@ bronze:
192190
- name: Bürkert Werke GmbH & Co KG
193191
url: https://www.burkert.com
194192
img: b_rkert_werke_gmbh___co_kg.png
193+
- name: CRECOHE
194+
url: http://www.crecohe.com
195+
img: crecohe.png
195196
# END SPONSORS
196197
video_china:
197198
- url: http://cloud.youku.com/index.php?source=vuejs

0 commit comments

Comments
 (0)