Open sandra0503 opened 1 year ago
Hi there, I'm struggling to use the unified slot syntax in Vue 2.7. Reference usage here
Child component:
setup(props, { slots }) { return () => <div>{slots.header}</div> },
Parent component:
<Child> {{ header: () => { return <div>My header</div> }, }} </Child>
or
<Child v-slots={{ header: () => 'My header' }}></Child>
Is this supported?
Hi there, I'm struggling to use the unified slot syntax in Vue 2.7. Reference usage here
Child component:
Parent component:
or
Is this supported?