// nuxt.config.tsimport{defineNuxtConfig}from'nuxt'importVueI18nPluginfrom'@intlify/unplugin-vue-i18n'exportdefaultdefineNuxtConfig({vite:{plugins:[VueI18nPlugin.vite({/* options */})]},// When using Webpack// builder: '@nuxt/webpack-builder',webpack:{plugins:[VueI18nPlugin.webpack({/* ...
@intlify/unplugin-vue-i18n 是一个基于 Vite 和 Rollup 的 Vue I18n 插件,旨在简化 Vue 项目中的国际化配置和资源管理。它提供了一套自动化的解决方案,帮助开发者更轻松地实现应用的国际化需求。 主要功能 自动化加载和编译:@intlify/unplugin-vue-i18n 能够自动加载项目中指定的国际化资源文件(如 JSON、YAML ...
vite-plugin-vue-i18n System Info System: OS: macOS 11.6 CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 78.62 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 14.17.3 -~/.nvm/versions/node/v14.17.3/bin/node Yarn: 1.22.17 - /usr/local/bin/yarn npm: ...
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}) => { ...
{ "@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/generated": "^0.9.0", "@types/lodash-es": "^4.17.12", "@types/node": "^20.11.21", "@types/nprogress"...
Vue CLI // vue.config.jsmodule.exports={configureWebpack:{plugins:[require('unplugin-sheet-i18n/webpack')({/* options */}),],},} esbuild // esbuild.config.jsimport{build}from'esbuild'importSheetI18nfrom'unplugin-sheet-i18n/esbuild'build({plugins:[SheetI18n()],}) ...
21 'vue-demi': ImportsMap; 22 'vue-i18n': ImportsMap; 23 'vue-router': ImportsMap; 24 vue: ImportsMap; 25 vuex: ImportsMap; 26 vitest: ImportsMap; 27 }; 28 declare type PresetName = keyof typeof presets; 29 30 declare type ImportNameAlias = [string, string]; ...
fix(unplugin-vue-i18n): remove directives plugin warnings on SSR build cacfbd7 userquin mentioned this pull request Nov 9, 2024 Updating from 8.5.5 to 9.0.0 causes build warning nuxt-modules/i18n#3209 Open BobbieGoede requested a review from kazupon November 9, 2024 11:13 kazupon...
kazupon added the Package: unplugin-vue-i18n label May 17, 2024 View details kazupon merged commit 57e1a7b into main May 17, 2024 10 checks passed kazupon deleted the fix/unplugin-use-vue-i18n-import-name branch May 17, 2024 07:40 Sign up for free to join this conversation on...
@intlify/unplugin-vue-i18n unplugin for Vue I18n kazupon •6.0.0•11 days ago•56dependents•MITpublished version6.0.0,11 days ago56dependentslicensed under $MIT 1,337,245 unplugin-generate-component-name A plugin for auto generate vue component name. ...