Skip to content

Commit 7b64b91

Browse files
Jinjiangphanan
authored andcommitted
Update components-edge-cases.md (#2010)
1 parent 20e7817 commit 7b64b91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/v2/guide/components-edge-cases.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ When the `inline-template` special attribute is present on a child component, th
331331
</my-component>
332332
```
333333

334-
<p>Your inline template needs to be defined inside the DOM element to which Vue is attached.</p>
334+
Your inline template needs to be defined inside the DOM element to which Vue is attached.
335335

336336
<p class="tip">However, <code>inline-template</code> makes the scope of your templates harder to reason about. As a best practice, prefer defining templates inside the component using the <code>template</code> option or in a <code>&lt;template&gt;</code> element in a <code>.vue</code> file.</p>
337337

@@ -351,7 +351,7 @@ Vue.component('hello-world', {
351351
})
352352
```
353353

354-
<p>Your x-template needs to be defined outside the DOM element to which Vue is attached.</p>
354+
Your x-template needs to be defined outside the DOM element to which Vue is attached.
355355

356356
<p class="tip">These can be useful for demos with large templates or in extremely small applications, but should otherwise be avoided, because they separate templates from the rest of the component definition.</p>
357357

0 commit comments

Comments
 (0)