Skip to content

Commit

Permalink
docs: installation for v10
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Sep 10, 2024
1 parent 69a48c5 commit 85cc6ff
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
::: code-group

```sh [npm]
npm install vue-i18n@9
npm install vue-i18n@10
```

```sh [yarn]
yarn add vue-i18n@9
yarn add vue-i18n@10
```

```sh [pnpm]
pnpm add vue-i18n@9
pnpm add vue-i18n@10
```

:::
Expand Down Expand Up @@ -46,18 +46,18 @@ app.mount('#app')

## Direct Download

<https://unpkg.com/vue-i18n@9>
<https://unpkg.com/vue-i18n@10>

[unpkg.com](https://unpkg.com) provides a npm-based CDN links. The above link will always point to the latest release on npm.

### Global import

```html
<script src="https://unpkg.com/vue@3"></script>
<script src="https://unpkg.com/vue-i18n@9"></script>
<script src="https://unpkg.com/vue-i18n@10"></script>
```

You can also use a specific version/tag via URLs like <https://unpkg.com/vue-i18n@9.12.0/dist/vue-i18n.global.js>
You can also use a specific version/tag via URLs like <https://unpkg.com/vue-i18n@10.0.0/dist/vue-i18n.global.js>

### ES Modules import

Expand All @@ -66,5 +66,5 @@ You can also use a specific version/tag via URLs like <https://unpkg.com/vue-i18
<script type="module" src="https://unpkg.com/vue-i18n@9/dist/vue-i18n.esm-browser.js">
```
You can also use a specific version/tag via URLs like <https://unpkg.com/vue-i18n@9.12.0/dist/vue-i18n.esm-browser.js>
You can also use a specific version/tag via URLs like <https://unpkg.com/vue-i18n@10.0.0/dist/vue-i18n.esm-browser.js>

0 comments on commit 85cc6ff

Please sign in to comment.