Open ManUtopiK opened 11 months ago
What is the main use case for this? I am afraid we might go too far by supporting scoped slots
I am afraid we might go too far by supporting scoped slots
I understand well. For now, I duplicate components or use composable as a workaround. But I think the more I go with mdc, the more I'll need this feature. If you want, you can close this issue for now...
What is the main use case for this? I am afraid we might go too far by supporting scoped slots
@atinux I've outlined a decent use case here https://github.com/nuxt-modules/mdc/issues/43#issuecomment-2318956997 involving looping through front matter arrays for nested components
Is your feature request related to a problem? Please describe.
How to handle scoped slots with MDC syntax ? And how to pass slot props to child components ?
Describe the solution you'd like to see
From this template :
To this :
:thinking: I'm not convinced. We should take care about the
v-bind
shorthand:
with the frontmatter. docWhat do you think about ?