Skip to content

Commit 3a32866

Browse files
fix: remove unnecessary paragraph
1 parent 10c8163 commit 3a32866

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

src/style-guide/rules-strongly-recommended.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -156,34 +156,6 @@ components/
156156

157157
</div>
158158

159-
## Single-instance component names {#single-instance-component-names}
160-
161-
**Components that should only ever have a single active instance should begin with the `The` prefix, to denote that there can be only one.**
162-
163-
This does not mean the component is only used in a single page, but it will only be used once _per page_. These components never accept any props, since they are specific to your app, not their context within your app. If you find the need to add props, it's a good indication that this is actually a reusable component that is only used once per page _for now_.
164-
165-
<div class="style-example style-example-bad">
166-
<h3>Bad</h3>
167-
168-
```
169-
components/
170-
|- Heading.vue
171-
|- MySidebar.vue
172-
```
173-
174-
</div>
175-
176-
<div class="style-example style-example-good">
177-
<h3>Good</h3>
178-
179-
```
180-
components/
181-
|- TheHeading.vue
182-
|- TheSidebar.vue
183-
```
184-
185-
</div>
186-
187159
## Tightly coupled component names {#tightly-coupled-component-names}
188160

189161
**Child components that are tightly coupled with their parent should include the parent component name as a prefix.**

0 commit comments

Comments
 (0)