Unleashing the Power of Slots in vue named slots Named slots · The “default” slot is simply a slot that we don't manually give a name to Vue will give it its name behind the scenes which happens to be “default vue 3 named slots Scoped slots can be named To use named scoped slots we need to name the slots inside the component with the 'name' attribute And to receive data from a named
vue named slots Named slots In this example we have 3 slots The body slot is a scoped slot, passing on a slot prop As with the earlier examples, it could pass along the
Regular
price
132.00 ₹ INR
Regular
price
Sale
price
132.00 ₹ INR
Unit price
/
per