File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1563,6 +1563,7 @@ type: api
1563
1563
```
1564
1564
1565
1565
- ** See also:** [ Conditional Rendering - v-else] ( /guide/conditional.html#v-else )
1566
+ - ** See also:** [ Conditional Rendering - Component caveat] ( /guide/conditional.html#Component-caveat )
1566
1567
1567
1568
### v-for
1568
1569
Original file line number Diff line number Diff line change @@ -68,7 +68,9 @@ You can use the `v-else` directive to indicate an "else block" for `v-if` or `v-
68
68
The ` v-else ` element must immediately follow the ` v-if ` or ` v-show ` element - otherwise it will not be recognized.
69
69
70
70
71
- ** Caveat** : when used with components and ` v-show ` , ` v-else ` doesn't get applied properly due to directives priorities. So instead of doing this:
71
+ ### Component caveat
72
+
73
+ When used with components and ` v-show ` , ` v-else ` doesn't get applied properly due to directives priorities. So instead of doing this:
72
74
73
75
``` html
74
76
<custom-component v-show =" condition" ></custom-component >
You can’t perform that action at this time.
0 commit comments