Skip to content

Commit 3dd2a53

Browse files
committed
update docs
1 parent 5bf4740 commit 3dd2a53

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ See the [`examples`](https://github.com/intlify/vue-i18n-next/tree/master/exampl
103103
The examples are offered in the following two API styles:
104104

105105
- composition
106-
- Examples using the new vue-i18n API for Vue 3 Composition API
106+
- Examples using the new Vue I18n API for Vue 3 Composition API
107107
- legacy
108-
- Examples using the vue-i18n API that are almost compatible with vue-i18n v8.x
108+
- Examples using the Vue I18n API that are almost compatible with Vue I18n v8.x
109109

110110

111111
## :package: Main Packages

docs/guide/advanced/optimization.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ The build will work without configuring these flags, however it is **strongly re
9797
- Rollup: use [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/master/packages/replace)
9898
- Vite: configured by default, but can be overwritten using the [`define` option](https://github.com/vitejs/vite/blob/a4133c073e640b17276b2de6e91a6857bdf382e1/src/node/config.ts#L72-L76)
9999

100+
:::tip NOTE
101+
If you are using Vite, you can do the same thing by specifying the option in the [plugin provided officially](https://github.com/intlify/vite-plugin-vue-i18n).
102+
103+
Also, if you are using the Vue CLI, you can use the [officially provided plugin](https://github.com/intlify/vue-cli-plugin-i18n) to optimize the settings in `vue.config.js`.
104+
:::
105+
100106
:::tip NOTE
101107
The replacement value **must be boolean literals** and cannot be strings, otherwise the bundler/minifier will not be able to properly evaluate the conditions.
102108
:::

0 commit comments

Comments
 (0)