Skip to content

Commit 575a6a7

Browse files
Update rules-recommended.md (#2540)
docs: add missing div to seperate bad and good examples
1 parent 666561e commit 575a6a7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/style-guide/rules-recommended.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ This is the default order we recommend for component options. They're split into
127127

128128
When components begin to feel cramped or difficult to read, adding spaces between multi-line properties can make them easier to skim again. In some editors, such as Vim, formatting options like this can also make them easier to navigate with the keyboard.
129129

130-
<div class="style-example style-example-good">
131-
<h3>Good</h3>
130+
<div class="style-example style-example-bad">
131+
<h3>Bad</h3>
132132

133133
```js
134134
props: {
@@ -156,6 +156,10 @@ computed: {
156156
}
157157
}
158158
```
159+
</div>
160+
161+
<div class="style-example style-example-good">
162+
<h3>Good</h3>
159163

160164
```js
161165
// No spaces are also fine, as long as the component

0 commit comments

Comments
 (0)