Skip to content

Commit ede3da6

Browse files
authored
change vue-i18n v9 to mainstream version (#926)
* change vue-i18n v9 to mainstream version * update lock file
1 parent aa61ae9 commit ede3da6

File tree

10 files changed

+95
-31
lines changed

10 files changed

+95
-31
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ Vue I18n is part of the Vue Ecosystem and Intlify Project is an open source proj
109109
- In-browser playground on [CodeSandbox](https://codesandbox.io/s/vue-i18n-9-template-h28c0)
110110
- Add it to an existing Vue Project:
111111
```bash
112-
npm install vue-i18n@next
112+
npm install vue-i18n@9
113113
```
114114

115115
## Changes from Vue I18n v8
116116

117117
Please consult the [Migration Guide](https://vue-i18n.intlify.dev/guide/migration/breaking.html).
118118

119119
## 🙋‍♂️ About support for v9 and earlier
120-
- v7 and v8: become LTS upon vue-i18n v9 release with an 12 months maintenance lifespan
120+
- v7 and v8: become LTS upon vue-i18n v9 release (latest tag) with an 12 months maintenance lifespan
121121

122122
## 🍭 Examples
123123

docs/guide/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Here’s a basic example:
1313
## HTML
1414

1515
```html
16-
<script src="https://unpkg.com/vue@next"></script>
17-
<script src="https://unpkg.com/vue-i18n@next"></script>
16+
<script src="https://unpkg.com/vue@3"></script>
17+
<script src="https://unpkg.com/vue-i18n@9"></script>
1818

1919
<div id="app">
2020
<p>{{ $t("message.hello") }}</p>

docs/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
### Global import
1616

1717
```html
18-
<script src="https://unpkg.com/vue@next"></script>
19-
<script src="https://unpkg.com/vue-i18n@next"></script>
18+
<script src="https://unpkg.com/vue@3"></script>
19+
<script src="https://unpkg.com/vue-i18n@9"></script>
2020
```
2121

2222
You can also use a specific version/tag via URLs like <https://unpkg.com/[email protected]/dist/vue-i18n.global.js>
2323

2424
### ES Modules import
2525

2626
```html
27-
<script type="module" src="https://unpkg.com/vue@next/dist/vue.esm-browser.js">
28-
<script type="module" src="https://unpkg.com/vue-i18n@next/dist/vue-i18n.esm-browser.js">
27+
<script type="module" src="https://unpkg.com/vue@3/dist/vue.esm-browser.js">
28+
<script type="module" src="https://unpkg.com/vue-i18n@9/dist/vue-i18n.esm-browser.js">
2929
```
3030
3131
You can also use a specific version/tag via URLs like <https://unpkg.com/[email protected]/dist/vue-i18n.esm-browser.js>
@@ -36,13 +36,13 @@ You can also use a specific version/tag via URLs like <https://unpkg.com/vue-i18
3636
### NPM
3737
3838
```sh
39-
npm install vue-i18n@next
39+
npm install vue-i18n@9
4040
```
4141
4242
### Yarn
4343
4444
```sh
45-
yarn add vue-i18n@next
45+
yarn add vue-i18n@9
4646
```
4747
4848
When using with a module system, you must explicitly install the `vue-i18n`

docs/ja/guide/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Vue + Vue I18nでグローバルアプリケーションを作るのは非常に
1313
## HTML
1414

1515
```html
16-
<script src="https://unpkg.com/vue@next"></script>
17-
<script src="https://unpkg.com/vue-i18n@next"></script>
16+
<script src="https://unpkg.com/vue@3"></script>
17+
<script src="https://unpkg.com/vue-i18n@9"></script>
1818

1919
<div id="app">
2020
<p>{{ $t("message.hello") }}</p>

docs/ja/guide/migration/ways.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Include `vue-i18n-bridge` after `vue`, `@vue/composition-api` and it will instal
4141
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
4242
<script src="https://unpkg.com/vue-i18n@8/dist/vue-i18n.min.js"></script>
4343
<script src="https://cdn.jsdelivr.net/npm/@vue/[email protected]"></script>
44-
<script src="https://unpkg.com/[email protected].6/dist/vue-i18n-bridge.global.prod.js"></script>
44+
<script src="https://unpkg.com/[email protected].30/dist/vue-i18n-bridge.global.prod.js"></script>
4545
```
4646

4747
### Usage

docs/ja/installation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@
88

99
## 直接ダウンロード
1010

11-
<https://unpkg.com/vue-i18n@next>
11+
<https://unpkg.com/vue-i18n@9>
1212

1313
[unpkg.com](https://unpkg.com)はnpmに基づいたCDNリンクを提供します。上記リンクは常にnpmの最新版へのリンクです。
1414

1515
### グローバルインポート
1616

1717
```html
18-
<script src="https://unpkg.com/vue@next"></script>
19-
<script src="https://unpkg.com/vue-i18n@next"></script>
18+
<script src="https://unpkg.com/vue@3"></script>
19+
<script src="https://unpkg.com/vue-i18n@9"></script>
2020
```
2121

2222
<https://unpkg.com/[email protected]/dist/vue-i18n.global.js>のようにURLで特定のバージョン・タグを指定して使うこともできます。
2323

2424
### ES modules インポート
2525

2626
```html
27-
<script type="module" src="https://unpkg.com/vue@next/dist/vue.esm-browser.js">
28-
<script type="module" src="https://unpkg.com/vue-i18n@next/dist/vue-i18n.esm-browser.js">
27+
<script type="module" src="https://unpkg.com/vue@3/dist/vue.esm-browser.js">
28+
<script type="module" src="https://unpkg.com/vue-i18n@9/dist/vue-i18n.esm-browser.js">
2929
```
3030
3131
<https://unpkg.com/[email protected]/dist/vue-i18n.esm-browser.js>のようにURLで特定のバージョン・タグを指定して使うこともできます。
@@ -36,13 +36,13 @@
3636
### NPM
3737
3838
```sh
39-
npm install vue-i18n@next
39+
npm install vue-i18n@9
4040
```
4141
4242
### Yarn
4343
4444
```sh
45-
yarn add vue-i18n@next
45+
yarn add vue-i18n@9
4646
```
4747
4848
module方式で使う場合、`app.use()`を使って明示的に`vue-i18n`をインストールする必要があります:

examples/backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"vue": "next",
13+
"vue": "3",
1414
"vue-i18n": "workspace:*"
1515
},
1616
"devDependencies": {

examples/lazy-loading/vite/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"serve": "vite preview"
99
},
1010
"dependencies": {
11-
"vue": "next",
11+
"vue": "3",
1212
"vue-i18n": "workspace:*",
13-
"vue-router": "next"
13+
"vue-router": "4"
1414
},
1515
"devDependencies": {
1616
"@intlify/vite-plugin-vue-i18n": "next",

packages/vue-i18n-bridge/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Include `vue-i18n-bridge` after `vue`, `@vue/composition-api` and it will instal
3939
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
4040
<script src="https://unpkg.com/vue-i18n@8/dist/vue-i18n.min.js"></script>
4141
<script src="https://cdn.jsdelivr.net/npm/@vue/[email protected]"></script>
42-
<script src="https://unpkg.com/[email protected].11/dist/vue-i18n-bridge.global.prod.js"></script>
42+
<script src="https://unpkg.com/[email protected].30/dist/vue-i18n-bridge.global.prod.js"></script>
4343
```
4444

4545
## 🚀 Usage

pnpm-lock.yaml

Lines changed: 71 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)