Skip to content

Commit

Permalink
update latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jul 1, 2022
1 parent 30eeffa commit 5ebe0da
Show file tree
Hide file tree
Showing 4 changed files with 11,641 additions and 11,986 deletions.
14 changes: 7 additions & 7 deletions src/v2/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: Installation
type: guide
order: 1
vue_version: 2.6.14
gz_size: "33.46"
vue_version: 2.7.0
gz_size: "36.75"
---

### Compatibility Note
Expand Down Expand Up @@ -41,20 +41,20 @@ Simply download and include with a script tag. `Vue` will be registered as a glo
For prototyping or learning purposes, you can use the latest version with:

``` html
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@2.7.0/dist/vue.js"></script>
```

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

``` html
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@2.7.0"></script>
```

If you are using native ES Modules, there is also an ES Modules compatible build:

``` html
<script type="module">
import Vue from 'https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.esm.browser.js'
import Vue from 'https://cdn.jsdelivr.net/npm/vue@2.7.0/dist/vue.esm.browser.js'
</script>
```

Expand Down Expand Up @@ -84,7 +84,7 @@ Vue provides an [official CLI](https://github.com/vuejs/vue-cli) for quickly sca

## Explanation of Different Builds

In the [`dist/` directory of the NPM package](https://cdn.jsdelivr.net/npm/vue@2.6.14/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@2.7.0/dist/) 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) |
| --- | --- | --- | --- | --- |
Expand All @@ -101,7 +101,7 @@ In the [`dist/` directory of the NPM package](https://cdn.jsdelivr.net/npm/vue@2

- **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 `<script>` tag. The default file from jsDelivr CDN at [https://cdn.jsdelivr.net/npm/vue@2.6.14](https://cdn.jsdelivr.net/npm/vue@2.6.14) is the Runtime + Compiler UMD build (`vue.js`).
- **[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@2.7.0](https://cdn.jsdelivr.net/npm/vue@2.7.0) is the Runtime + Compiler UMD build (`vue.js`).

- **[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`).

Expand Down
38 changes: 11 additions & 27 deletions themes/vue/_config.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
site_description: Vue.js - The Progressive JavaScript Framework
google_analytics: UA-46852172-1
root_domain: vuejs.org
vue_version: 2.6.14
vue_version: 2.7.0
# START SPONSORS
special:
- name: HBuilder
url: https://www.dcloud.io/hbuilderx.html?hmsr=vue-en&hmpl=&hmcu=&hmkw=&hmci=
img: hbuilder.png
description: An IDE for Vue
platinum:
- name: VueMastery
url: https://www.vuemastery.com/
img: vuemastery.png
- name: VueSchool
url: >-
https://vueschool.io/?utm_source=Vuejs.org&utm_medium=Banner&utm_campaign=Sponsored%20Banner&utm_content=V1
Expand All @@ -25,7 +28,7 @@ platinum:
- name: Ionic
url: >-
https://ionicframework.com/vue?utm_source=partner&utm_medium=referral&utm_campaign=vuesponsorship&utm_content=vuedocs
img: ionic.png
img: ionic.png?v2
- name: Nuxt
url: https://nuxtjs.org/
img: nuxt.png
Expand All @@ -46,17 +49,10 @@ platinum_china:
- name: HBuilder
url: https://www.dcloud.io/hbuilderx.html?hmsr=vue-en&hmpl=&hmcu=&hmkw=&hmci=
img: hbuilder.png
- name: Authing
url: >-
https://www.authing.cn/welcome?utm_source=Vuejs&utm_medium=CPT&utm_campaign=EN&utm_term=page-EN
img: authing.svg
- name: 稀土掘金技术社区
url: https://juejin.cn/frontend?utm_source=vue&utm_campaign=sponsor
img: xitujuejinjishushequ.png
gold:
- name: VueMastery
url: https://www.vuemastery.com/
img: vuemastery.png
- name: Laravel
url: https://laravel.com
img: laravel.png
Expand All @@ -66,9 +62,6 @@ gold:
- name: Neds
url: https://neds.com.au/
img: neds.png
- name: Icons 8
url: https://icons8.com/
img: icons_8.png
- name: Tidelift
url: https://tidelift.com/subscription/npm/vue
img: tidelift.png
Expand All @@ -90,9 +83,6 @@ gold:
- name: FASTCODING Inc
url: 'https://fastcoding.jp/javascript/ '
img: fastcoding_inc.svg
- name: StoreKit
url: https://storekit.com
img: storekit.png
- name: VPSServer.com
url: https://www.vpsserver.com
img: vpsserver_com.png
Expand Down Expand Up @@ -138,16 +128,16 @@ gold:
- name: QuickBooks Tool Hub
url: https://quickbookstoolhub.com
img: quickbooks_tool_hub.png
- name: '1394'
url: https://1394ta.org/buy-instagram-followers/
img: 1394.png?v2
- name: Snyk
url: https://snyk.co/vuejs
img: snyk.png?v2
- name: Handsontable - JavaScript Data Grid
url: https://handsontable.com/
img: handsontable___javascript_data_grid.svg
silver:
- name: Inkoop
url: https://www.inkoop.io
img: inkoop.png
- name: Draxlr
url: https://www.draxlr.com
img: draxlr.svg
- name: iSolutions UK Limited
url: https://www.thecasinodb.com
img: isolutions_uk_limited.png
Expand All @@ -160,9 +150,6 @@ silver:
- name: Doximity
url: https://technology.doximity.com/
img: doximity.png
- name: Empiricus
url: https://www.empiricus.com.br/
img: empiricus.png
- name: CircleCI
url: https://circleci.com/open-source/
img: circleci.png
Expand Down Expand Up @@ -201,9 +188,6 @@ bronze:
- name: Liip AG
url: https://www.liip.ch/en
img: liip_ag.png
- name: FormMaking
url: http://form.making.link/
img: formmaking.png
- name: Monarch Air Group
url: https://monarchairgroup.com
img: monarch_air_group.png
Expand Down
Loading

0 comments on commit 5ebe0da

Please sign in to comment.