Skip to content

Commit ae50b8d

Browse files
noookskirtles-code
andauthored
Update src/guide/components/slots.md
Co-authored-by: skirtle <[email protected]>
1 parent d155409 commit ae50b8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/guide/components/slots.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,8 @@ If you are mixing named slots with the default scoped slot, you need to use an e
427427
</template>
428428
```
429429

430-
Instead, you will need to write it as follows:
430+
Using an explicit `<template>` tag for the default slot helps to make it clear that the `message` prop is not available inside the other slot:
431+
431432
```vue-html
432433
<template>
433434
<MyComponent>

0 commit comments

Comments
 (0)