yarn add @intlify/unplugin-vue-i18n --dev 检查类型定义文件是否存在: 安装完包后,检查node_modules/@intlify/unplugin-vue-i18n/types目录下是否存在类型定义文件。通常,这些文件会以.d.ts结尾。如果目录中不存在这些文件,可能是包安装不完整或版本问题。 重新安装或更新包: 如果类型定义文件缺失,尝试重新安装...
对于@intlify/unplugin-vue-i18n/types,@types/qrcode,element-plus/global,和vite-plugin-svg-icons/client,如果这些库没有提供类型定义文件(.d.ts),或者类型定义文件不是以这种方式暴露的,你应该从types数组中移除它们。 修改后的tsconfig.json的types数组可能看起来像这样: "types": [ "vite/client" ], 检查...
import{createApp}from'vue'import{createI18n}from'vue-i18n'/** All i18n resources specified in the plugin `include` option can be loaded* at once using the import syntax*/importmessagesfrom'@intlify/unplugin-vue-i18n/messages'consti18n=createI18n({locale:'en',messages})constapp=createApp()app...
40 - "unplugin": "^1.0.0" 40 + "unplugin": "^1.1.0" 41 41 }, 42 42 "devDependencies": { 43 43 "mlly": "^1.0.0", packages/unplugin-vue-i18n/src/index.ts +91-7 Original file line numberDiff line numberDiff line change @@ -1,4 +1,4 @@ 1 - import { cr...
chore(deps): update @intlify/unplugin-vue-i18n a091791 BobbieGoede self-assigned this Dec 6, 2024 View details BobbieGoede merged commit 9c8a985 into nuxt-modules:main Dec 6, 2024 8 checks passed BobbieGoede deleted the chore/update-unplugin-vue-i18n branch December 6, 2024 08:53 ...
Internationalization plugin for Vue.js Supporting Vue I18n & Intlify Project Vue I18n is part of the Vue Ecosystem and Intlify Project is an open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider...
@intlify/devtools-types pnpm add https://pkg.pr.new/@intlify/devtools-types@1968 @intlify/message-compiler pnpm add https://pkg.pr.new/@intlify/message-compiler@1968 petite-vue-i18n pnpm add https://pkg.pr.new/petite-vue-i18n@1968 @intlify/shared pnpm add https://pkg.pr.new/@intli...
//github.com/intlify/bundle-tools/blob/main/packages/unplugin-vue-i18n/README.md", "keywords": [ "i18n", "plugin", "unplugin", "transform", "webpack", "vite", "vue", "vue-i18n" ], "license": "MIT", "main": "lib/index.cjs", "module": "./lib/index.mjs", "types": "....
packages/unplugin-vue-i18n README.md examples/vite vite.config.ts package.json src index.ts types.ts test utils.ts vite __snapshots__ custom-block.test.ts.snap sourcemap.test.ts.snap bundle-import.test.ts custom-block.test.ts resource-compilation.test.ts webpack ...
"@intlify/unplugin-vue-i18n": "^0.10.0", "nuxt": "^3.4.0", "vue-i18n": "^9.2.2" Issue Package vite-plugin-vue-i18n System Info System: OS: Windows 10 10.0.19044 CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz Memory: 2.68 GB / 15.82 GB Binaries: Node: 18.15...