Skip to content

Commit 8188e12

Browse files
dmitriy-kazarinovchrisvfritz
authored andcommitted
Updated style guide (#1331)
Updated style guide based on Multi-attribute elements statement.
1 parent 09c2c65 commit 8188e12

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/v2/style-guide/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1717,7 +1717,10 @@ By default, Vue updates the DOM as efficiently as possible. That means when swit
17171717
#### Good
17181718

17191719
``` html
1720-
<div v-if="error" key="search-status">
1720+
<div
1721+
v-if="error"
1722+
key="search-status"
1723+
>
17211724
Error: {{ error }}
17221725
</div>
17231726
<div v-else key="search-results">

0 commit comments

Comments
 (0)