@intlify/unplugin-vue-i18n 是一个用于 Vue 项目的国际化插件,它基于 vue-i18n 库,但作为一个 unplugin 提供额外的编译时特性。这个插件可以在 Vue 项目中提供自动的国际化支持,包括自动扫描、编译和注入国际化消息,以及优化最终的构建产物。它支持 Vue 3 和 Vite,可以显著简化国际化配置和使用的复杂度。
unplugin-vue-i18n can use the bundler virtual mechanism to import all locales at once, using the special identifier@intlify/unplugin-vue-i18n/messages, as the bellow: import{createApp}from'vue'import{createI18n}from'vue-i18n'/** All i18n resources specified in the plugin `include` option can...
ERROR [unplugin-vue-i18n] Detected HTML in vesion 0.8.2 work great I use vue-i18n this: import {useLocale} from "@/composables/locale"; import messages from '@intlify/unplugin-vue-i18n/messages' export default defineNuxtPlugin(({vueApp}) => { ...
kazuponaddedPackage: vite-plugin-vue-i18nPackage: unplugin-vue-i18nlabelsSep 24, 2022 loguecommentedSep 24, 2022• edited The yaml parser forimport.meta.globbehaves poorly. Specifically, the following YAML fails to parse (checked withYAML Lintandeslint-plugin-yaml): ...
"vuedraggable": "^4.1.0", "web-storage-cache": "^1.1.1", "xml-js": "^1.6.11" }, "devDependencies": { "@commitlint/cli": "^19.0.1", "@commitlint/config-conventional": "^19.0.0", "@iconify/json": "^2.2.187", "@intlify/unplugin-vue-i18n": "^2.0.0", "@purge-icons/gen...
fix(petite-vue-i18n): cannot register correctly message resolver and locale fallbacker by @kazupon in https://github.com/intlify/vue-i18n/pull/1967📝️ Documentationsdocs: add unplugin-vue-i18n setting for petite-vue-i18n by @kazupon in https://github.com/intlify/vue-i18n/pull/1968...
fix(petite-vue-i18n): cannot register correctly message resolver and locale fallbacker by @kazupon in https://github.com/intlify/vue-i18n/pull/1967📝️ Documentationsdocs: add unplugin-vue-i18n setting for petite-vue-i18n by @kazupon in https://github.com/intlify/vue-i18n/pull/1968...
because @intlify/unplugin-vue-i18n ships with @typescript-eslint/typescript-estree v7 pinned as a dependency, typescript-eslint complains about missing support for typescript 5.6 in my project even though i have explicitly installed @typescript-eslint/typescript-estree 8.13.0. this is with pnp...
Sign in Sign up Reseting focus {{ message }} intlify / vue-i18n Public Sponsor Notifications You must be signed in to change notification settings Fork 342 Star 2.2k Code Issues 124 Pull requests 20 Discussions Actions Projects Security 2 Insights ...
unplugin-vue-i18n can use the bundler virtual mechanism to import all locales at once, using the special identifier@intlify/unplugin-vue-i18n/messages, as the bellow: import{createApp}from'vue'import{createI18n}from'vue-i18n'/** All i18n resources specified in the plugin `include` option can...