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
@@ -106,3 +102,9 @@ The build will work without configuring these flags, however it is **strongly re
106
102
:::tip NOTE
107
103
The replacement value **must be boolean literals** and cannot be strings, otherwise the bundler/minifier will not be able to properly evaluate the conditions.
108
104
:::
105
+
106
+
## Pre translations with extensions
107
+
108
+
You can pre-translation with vue-i18n-extensions.
109
+
110
+
About how to usage, see [here](https://github.com/intlify/vue-i18n-extensions).
Copy file name to clipboardExpand all lines: docs/advanced/sfc.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ To use i18n custom blocks, you need to use the following plugins for bundler.
54
54
55
55
[vue-i18n-loader](https://github.com/intlify/vue-i18n-loader) is loader plugin for [webpack](https://webpack.js.org/). Since single file components is bundled with [vue-loader](https://github.com/vuejs/vue-loader), you need to setting webpack config with vue-i18n-loader.
56
56
57
-
:::tip NOTE
57
+
:::tip REQUIREMENTS
58
58
- webpack: **v4 or later**
59
59
- vue-loader: **v16 or later**.
60
60
:::
@@ -107,7 +107,7 @@ module.exports = {
107
107
108
108
[rollup-plugin-vue-i18n](https://github.com/intlify/rollup-plugin-vue-i18n) is rollup plugin for [rollup](https://rollupjs.org). Since single-file components is bundled with [rollup-plugin-vue](https://github.com/vuejs/rollup-plugin-vue), you need to setting rollup config with rollup-plugin-vue
109
109
110
-
:::tip NOTE
110
+
:::tip REQUIREMENTS
111
111
- rollup: **v2.32 or later**
112
112
- rollup-plugin-vue: **v6 or later**.
113
113
:::
@@ -157,8 +157,9 @@ export default [
157
157
158
158
[vite-plugin-vue-i18n](https://github.com/intlify/vite-plugin-vue-i18n) is vite plugin for [Vite](https://github.com/vitejs/vite).
**Reason**: Due to hard to provide custom formats in the new compiler and runtime APIs. We are planning to support it in the next major version to support in these APIs. if you would like to use ICU message format, you can use the [@formatjs/vue-intl](https://formatjs.io/docs/vue-intl/)
0 commit comments