Skip to content

Commit 3918ee2

Browse files
committed
1 parent dee3834 commit 3918ee2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/guide/component-slots.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Vue には [Web Components spec draft](https://github.com/w3c/webcomponents/blob
222222
</footer>
223223
</div>
224224
```
225-
**`v-slot` は([一つの例外](#デフォルトスロットしかない場合の省略記法) を除き) `<template>` にしか指定できないことに注意してください。
225+
**`v-slot` は([一つの例外](#デフォルトスロットしかない場合の省略記法) を除き) `<template>` にしか指定できないことに注意してください。
226226

227227
## スコープ付きスロット
228228

@@ -247,7 +247,7 @@ app.component('todo-list', {
247247
})
248248
```
249249

250-
親コンポーネントでこれをカスタマイズするために、スロットに交換してもよいでしょう:
250+
親コンポーネントでこれをカスタマイズするために、`{{ item }}``<slot>` に置き換えたい場合があります:
251251

252252

253253
```html
@@ -311,7 +311,7 @@ app.component('todo-list', {
311311
<todo-list v-slot="slotProps">
312312
<i class="fas fa-check"></i>
313313
<span class="green">{{ slotProps.item }}</span>
314-
314+
315315
<template v-slot:other="otherSlotProps">
316316
slotProps is NOT available here
317317
</template>

0 commit comments

Comments
 (0)