You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this combination should trigger 2 errors Vue template compilation error: <KeepAlive> expects exactly one child component.(45) Vue template compilation error: v-else/v-else-if has no adjacent v-if or v-else-if.(30)
but instead it causes infinite loop
severity: annoyance, edge case
The text was updated successfully, but these errors were encountered:
Hello,
First of all this is the place to solve the problem of @vue/repl, your problem is not about repl. Then you're not familiar with keep-alive.
the right way: <keep-alive include="a,b"> <component :is="view"></component> </keep-alive> or <keep-alive> <router-view v-if="$route.meta.keepAlive"></router-view> </keep-alive>
Thanks.
replace template with this code in the sfc playground.
this combination should trigger 2 errors
Vue template compilation error: <KeepAlive> expects exactly one child component.(45)
Vue template compilation error: v-else/v-else-if has no adjacent v-if or v-else-if.(30)
but instead it causes infinite loop
severity: annoyance, edge case
The text was updated successfully, but these errors were encountered: