Skip to content

Commit 071d708

Browse files
authored
v-forとv-ifを正しい順番に修正 (#356)
1 parent c50fcbd commit 071d708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/style-guide/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ data() {
197197
- リストを非表示にする必要がある場合に、リストがレンダリングされるのを避ける時 (`v-for="user in users" v-if="shouldShowUsers"` のように)。このような場合、 `v-if` をコンテナ要素 (例えば `ul`, `ol`)に移動します。
198198

199199
::: details 詳細な説明
200-
Vue がディレクティブを処理する場合、`v-for``v-if` よりも優先度が高いため、次のようなテンプレートは:
200+
Vue がディレクティブを処理する場合、`v-if``v-for` よりも優先度が高いため、次のようなテンプレートは:
201201

202202
``` html
203203
<ul>

0 commit comments

Comments
 (0)