From 9d721656d19008c1310aeb97798563c1a8c56595 Mon Sep 17 00:00:00 2001 From: Tsui Yen-Che Date: Thu, 7 Mar 2024 20:25:42 +0800 Subject: [PATCH] fix: vueVersion --- packages/unplugin-vue-i18n/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/unplugin-vue-i18n/src/index.ts b/packages/unplugin-vue-i18n/src/index.ts index bc449ae..efe8843 100644 --- a/packages/unplugin-vue-i18n/src/index.ts +++ b/packages/unplugin-vue-i18n/src/index.ts @@ -104,7 +104,7 @@ export const unplugin = createUnplugin((options = {}, meta) => { const vueVersion = isString(options.vueVersion) ? options.vueVersion : undefined - if (!vueVersion) { + if (vueVersion) { warn( `'vueVersion' option is deprecated, sinece Vue 2 was EOL on 2023. that option will be removed in 4.0.` )