Closed stafyniaksacha closed 8 months ago
https://stackblitz.com/edit/nuxt-starter-jwcdnr?file=content%2Findex.md,components%2Fcontent%2Ftest.vue
Since 2.11, when we use <ContentSlot unwrap="p" :use="$slots.named" /> it renders the default slot instead of the named one.
<ContentSlot unwrap="p" :use="$slots.named" />
The named slot is detected when we remove the unwrap property (<ContentSlot :use="$slots.named" />)
unwrap
<ContentSlot :use="$slots.named" />
No response
Environment
Build Modules: -
Reproduction
https://stackblitz.com/edit/nuxt-starter-jwcdnr?file=content%2Findex.md,components%2Fcontent%2Ftest.vue
Describe the bug
Since 2.11, when we use
<ContentSlot unwrap="p" :use="$slots.named" />
it renders the default slot instead of the named one.The named slot is detected when we remove the
unwrap
property (<ContentSlot :use="$slots.named" />
)Additional context
No response
Logs
No response