diff --git a/packages/uni-cli-shared/src/preprocess/context.ts b/packages/uni-cli-shared/src/preprocess/context.ts index 5669cb5991b287536d7eb0d1ecad628f632f4d61..d7f89aa663d54832cd62872f5aefc333bf280f48 100644 --- a/packages/uni-cli-shared/src/preprocess/context.ts +++ b/packages/uni-cli-shared/src/preprocess/context.ts @@ -50,7 +50,7 @@ export function initPreContext( defaultContext[normalizeKey(platform)] = true vueContext.VUE3 = true - nvueContext.VUE2 = true + nvueContext.VUE3 = true if (platform === 'app' || platform === 'app-plus') { defaultContext.APP = true