From: Evan You Date: Sat, 17 Apr 2021 18:38:30 +0000 (-0400) Subject: wip: warn v-if/v-for co-usage X-Git-Tag: v3.1.0-beta.1~59^2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab214689827fa25aa68e524e4e4bc11204c55cb7;p=thirdparty%2Fvuejs%2Fcore.git wip: warn v-if/v-for co-usage --- diff --git a/packages/compiler-core/src/compat/compatConfig.ts b/packages/compiler-core/src/compat/compatConfig.ts index 712cdd9309..6c54111cad 100644 --- a/packages/compiler-core/src/compat/compatConfig.ts +++ b/packages/compiler-core/src/compat/compatConfig.ts @@ -81,8 +81,10 @@ const deprecationData: Record = { [CompilerDeprecationTypes.COMPILER_V_IF_V_FOR_PRECEDENCE]: { message: `v-if / v-for precedence when used on the same element has changed ` + - `in Vue 3. It is best to avoid the ambiguity with either