vue-loader(v15 or later): // for webpack.config.js (Without Vue CLI)module.exports={module:{rules:[{resourceQuery:/blockType=i18n/,type:'javascript/auto',loader:'@intlify/vue-i18n-loader',},]}} vue-loader(~v14.x): // for webpack config filemodule.exports={module:{rules:[{test:/...
@intlify/vue-i18n-loader 4.2.0•Public• Published3 years ago @intlify/vue-i18n-loader vue-i18n for webpack loader ⚠️Notice This package of@intlify/bundle-toolsis forVue I18n v9 or later! The versionfor Vue I18n v8.xis now in@intlify/vue-i18n-loaderv1.x!
@intlify/vue-i18n-loader webpack loader for Vue I18n Notice This package is maintained for Vue I18n v8 (Vue 2). If you want to use Vue I18n v9 (Vue 3) or later, See the@intlify/bundle-toolsrepo. Installation $ npm i --save-dev @intlify/vue-i18n-loader ...
The following configuration example ofvue-loader: const{VueLoaderPlugin}=require('vue-loader')const{createI18n}=require('vue-i18n')const{transformVTDirective}=require('@intlify/vue-i18n-extensions')consti18n=createI18n({locale:'ja',messages:{en:{hello:'hello'},ja:{hello:'こんにちは'}}})con...
const{VueLoaderPlugin}=require('vue-loader')const{createI18n}=require('vue-i18n')const{transformVTDirective}=require('@intlify/vue-i18n-extensions')consti18n=createI18n({locale:'ja',messages:{en:{hello:'hello'},ja:{hello:'こんにちは'}}})consttransformVT=transformVTDirective(i18n)module.expor...
feat: move to GA from experimental for petite-vue-i18n (#1862) 12个月前 ARCHITECTURE.md docs: update intlify message ast 11个月前 BACKERS.md docs: update sponsors 22天前 CHANGELOG.md Update CHANGELOG.md (#2151) 1个月前 CODE_OF_CONDUCT.md ...
安装完包后,检查node_modules/@intlify/unplugin-vue-i18n/types目录下是否存在类型定义文件。通常,这些文件会以.d.ts结尾。如果目录中不存在这些文件,可能是包安装不完整或版本问题。 重新安装或更新包: 如果类型定义文件缺失,尝试重新安装或更新@intlify/unplugin-vue-i18n包到最新版本: bash npm uninstall @intlif...
"@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": "^0.2.3", "@types/qrcode": "^1.5.5", "@types/qs": "^6.9.12", ...
fix: v-t custom directive warning when it will run by @kazupon in https://github.com/intlify/vue-i18n/pull/2057Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.0.0...v11.0.1v11.0.0 (2024-12-24T15:01:00Z)This changelog is generated by GitHub Releases...
intlify/vue-i18n-loaderPublic Notifications Fork30 Star253 LabelsMilestones New issue ProTip!Typegpon any issue or pull request to go back to the pull request listing page.