@intlify/unplugin-vue-i18n 7.0.0-beta.2 → 12.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/lib/index.cjs +69 -417
- package/lib/index.mjs +64 -410
- package/lib/rspack.cjs +4 -9
- package/lib/rspack.mjs +4 -9
- package/lib/types.d.cts +0 -1
- package/lib/types.d.mts +0 -1
- package/lib/types.d.ts +0 -1
- package/lib/vite.cjs +4 -9
- package/lib/vite.mjs +4 -9
- package/lib/webpack.cjs +4 -9
- package/lib/webpack.mjs +4 -9
- package/package.json +21 -20
package/README.md
CHANGED
|
@@ -661,6 +661,11 @@ If do you will use this option, you need to enable `jitCompilation` option.
|
|
|
661
661
|
|
|
662
662
|
If you want to put it manually, you can specify the signature of the translation function as a string or a string array.
|
|
663
663
|
|
|
664
|
+
> [!IMPORTANT]
|
|
665
|
+
>
|
|
666
|
+
> `optimizeTranslationDirective` option is deprecated in v12, because `v-t` custom directive will be dropped in vue-i18n v12
|
|
667
|
+
> This option will be supported with unplugin-vue-i18n v6.x (vue-i18n until v11)
|
|
668
|
+
|
|
664
669
|
> [!WARNING]
|
|
665
670
|
> About for manually signature, see the details [vue-i18n-extensions API docs](https://github.com/intlify/vue-i18n-extensions/blob/next/docs/%40intlify/vue-i18n-extensions-api.md#translationsignatures) and [usecase from vue-i18n-extensions PR](https://github.com/intlify/vue-i18n-extensions/pull/217/files#diff-3fb9543f91e011d4b0dc9beff44082fe1a99c9eab70c1afab23c3c34352b7c38R121-R200)
|
|
666
671
|
|