Skip to content

Commit c1586e0

Browse files
defccchrisvfritz
authored andcommitted
update component inline-template (#519)
1 parent 9f850a7 commit c1586e0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/guide/components.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -994,8 +994,10 @@ When the `inline-template` special attribute is present on a child component, th
994994

995995
``` html
996996
<my-component inline-template>
997-
<p>These are compiled as the component's own template.</p>
998-
<p>Not parent's transclusion content.</p>
997+
<div>
998+
<p>These are compiled as the component's own template.</p>
999+
<p>Not parent's transclusion content.</p>
1000+
</div>
9991001
</my-component>
10001002
```
10011003

0 commit comments

Comments
 (0)