Skip to content

Commit b596073

Browse files
authored
update component-slots.md (#1342)
* update component-slots.md * update component-slots.md
1 parent 9729c18 commit b596073

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/component-slots.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The slot does **not** have access to `<todo-button>`'s scope. For example, tryin
9292
Clicking here will {{ action }} an item
9393
<!--
9494
The `action` will be undefined, because this content is passed
95-
_to_ <todo-button>, rather than defined _inside_ the
95+
to <todo-button>, rather than defined inside the
9696
<todo-button> component.
9797
-->
9898
</todo-button>
@@ -224,7 +224,7 @@ The rendered HTML will be:
224224
</div>
225225
```
226226

227-
Note that **`v-slot` can only be added to a `<template>`** (with [one exception](#abbreviated-syntax-for-lone-default-slots))
227+
Note that **`v-slot` can only be added to a `<template>`** (with [one exception](#abbreviated-syntax-for-lone-default-slots)).
228228

229229
## Scoped Slots
230230

0 commit comments

Comments
 (0)