0
Didn’t test yet, but I think defining slot by slot="slot_name"
is not working in JSX, using vSlots
instead.
<my-component vSlots={{ cont: () => <div ref="cont">content</div>}}>
<my-component>
Source:stackexchange.com
0
Didn’t test yet, but I think defining slot by slot="slot_name"
is not working in JSX, using vSlots
instead.
<my-component vSlots={{ cont: () => <div ref="cont">content</div>}}>
<my-component>