Skip to content

Commit 1520ddd

Browse files
CeceWallphanan
CeceWall
authored andcommitted
Add style guide blockquote in v-if with v-for (#1794)
1 parent 22a46fe commit 1520ddd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/v2/guide/conditional.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,6 @@ Generally speaking, `v-if` has higher toggle costs while `v-show` has higher ini
196196

197197
## `v-if` with `v-for`
198198

199+
<p class="tip">Using `v-if` and `v-for` together is **not recommended**. See the [style guide](/v2/style-guide/#Avoid-v-if-with-v-for-essential) for further information.</p>
200+
199201
When used together with `v-if`, `v-for` has a higher priority than `v-if`. See the <a href="../guide/list.html#V-for-and-v-if">list rendering guide</a> for details.

0 commit comments

Comments
 (0)