Named Slots
Named Slots
: 38 · 00:05:49 · Vue JS 3 Tutorial - 38
I have created a CardComponent with named slots for the header, default content, and footer · The CardComponent is a Vue · The template of
vue named slots Describe the Bug When a component has more than one slot in a vue component, named slots are used with the following syntax: slot name=
vue3 slot At 10:17, instead of using h2> tag for title, I tried to switch to template v-slot:heading> as it shares the same property, but Vue gave
Regular
price
172.00 ₹ INR
Regular
price
172.00 ₹ INR
Sale
price
172.00 ₹ INR
Unit price
/
per