Skip to content

Commit c79c49a

Browse files
Merge pull request #1 from JeremieLitzler/patch-1
Update rules-recommended.md
2 parents c9c25da + d70a71d commit c79c49a

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)