You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/petite-vue-i18n/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,13 +37,13 @@ Small size subset of Vue I18n
37
37
38
38
`vue-i18n` includes various i18n features such as translation, datetimes format and number formats. Some projects may only use translation and not datetime formats. At the moment, even in that case, the code for that feature is included.
39
39
40
-
If your project only uses `t` or `$t` API for translation, so we recommended you would use `petite-vue-i18n` better than `vue-i18n`. And your project needs the features of `vue-i18n`, you can smoothly migrate from `petitle-vue-i18n` to `vue-i18n`. This means that it’s progressive enhancement.
40
+
If your project only uses `t` or `$t` API for translation, so we recommended you would use `petite-vue-i18n` better than `vue-i18n`. And your project needs the features of `vue-i18n`, you can smoothly migrate from `petite-vue-i18n` to `vue-i18n`. This means that it’s progressive enhancement.
41
41
42
42
## :warning: About the supporting of `petite-vue-i18n`
43
43
44
-
Note that `petitle-vue-i18n` is still experimental, and you may encounter bugs and unsupported use cases. Proceed at your own risk.
44
+
Note that `petite-vue-i18n` is still experimental, and you may encounter bugs and unsupported use cases. Proceed at your own risk.
45
45
46
-
However, please don’t worry about it. Depending on the usage of `petitle-vue-i18n` and the feedback, we would like to use it refer to the development of the next version of `vue-i18n`. This means we will to maintain it.
46
+
However, please don’t worry about it. Depending on the usage of `petite-vue-i18n` and the feedback, we would like to use it refer to the development of the next version of `vue-i18n`. This means we will to maintain it.
47
47
48
48
We welcome your feedback on `petite-vue-i18n`.
49
49
@@ -124,7 +124,7 @@ const { createApp } = Vue
124
124
const { createI18n, useI18n } = PetiteVueI18n
125
125
// or for ES modules
126
126
// import { createApp } from 'vue'
127
-
// import { createI18n } from 'petitle-vue-i18n'
127
+
// import { createI18n } from 'petite-vue-i18n'
128
128
129
129
consti18n=createI18n({
130
130
locale:'en',
@@ -180,7 +180,7 @@ Then, at the entry point of the application, configure the message resolver and
180
180
181
181
```js
182
182
import { createApp } from'vue'
183
-
import { createI18n } from'petitle-vue-i18n'
183
+
import { createI18n } from'petite-vue-i18n'
184
184
import {
185
185
registerMessageResolver, // register the message resolver API
186
186
resolveValue, // message resolver of vue-i18n which is used by default
0 commit comments