Skip to content

Commit b6070fe

Browse files
authored
Update component-slots.md (#594)
1 parent b78e978 commit b6070fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/component-slots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ To make `item` available to the slot content provided by the parent, we can add
263263
```html
264264
<ul>
265265
<li v-for="( item, index ) in items">
266-
<slot v-bind:item="item"></slot>
266+
<slot :item="item"></slot>
267267
</li>
268268
</ul>
269269
```

0 commit comments

Comments
 (0)