Skip to content

Commit 0b91691

Browse files
committed
docs: update readme
1 parent 3199abc commit 0b91691

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
[![npm](https://img.shields.io/npm/v/@intlify/vue-i18n-extensions/next.svg)](https://www.npmjs.com/package/@intlify/vue-i18n-extensions)
44
[![npm](https://img.shields.io/npm/v/@intlify/vue-i18n-extensions.svg)](https://www.npmjs.com/package/@intlify/vue-i18n-extensions)
5-
[![vue-i18n-extensions Dev Token](https://badge.devtoken.rocks/vue-i18n-extensions)](https://devtoken.rocks/package/vue-i18n-extensions)
65

76
Extensions for vue-i18n
87

9-
## ⚠️ Notice
10-
11-
This `next` branch is development branch for Vue 3! The version for Vue 2 is now in [`master`](https://github.com/intlify/vue-i18n-extensions/tree/master) branch!
8+
> [!IMPORTANT]
9+
> This `next` branch is development branch for Vue 3! The version for Vue 2 is now in [`master`](https://github.com/intlify/vue-i18n-extensions/tree/master) branch!
1210
1311
This library exports the following extensions:
1412

@@ -20,7 +18,14 @@ This library exports the following extensions:
2018
## 💿 Installation
2119

2220
```sh
23-
$ npm i --save-dev @intlify/vue-i18n-extensions@next
21+
# npm
22+
npm i --save-dev @intlify/vue-i18n-extensions@next
23+
24+
# pnpm
25+
pnpm add -D @intlify/vue-i18n-extensions@next
26+
27+
# yarn
28+
yarn add -D @intlify/vue-i18n-extensions@next
2429
```
2530

2631
## 🚀 Extensions
@@ -91,9 +96,9 @@ console.log(await renderToString(app))
9196

9297
You can pre-translation i18n locale messages of vue-i18n.
9398

94-
> :warning: NOTE: Only the scope of global i18n locale messages can be pre-translated !!
99+
> [!WARNING] **Only the global scope** i18n locale messages can be pre-translated !!
95100
96-
> :warning: NOTE: Currently only `v-t` custom directive is supported !!
101+
> [!WARNING] only `v-t` custom directive is supported !!
97102
98103
In order to use this feature, you need to specify to Vue compiler option.
99104
The following example that use `compile` of `@vue/compiler-dom`:

0 commit comments

Comments
 (0)