Slots vs Props in UI components vue slot props The slot name element on the child component is used to declare named slots What are slot props in ? Using slot-scope in the template, components vue slot props The slots syntax has been changed in Vue , the following examples use the new v-slot syntax instead of the deprecated slot-scope , but it is still supported
vue vslot If the slot is the default slot you can just use v-slot=”slotProps” Something cool that you can do with slot props is to use destructuring By
Regular
price
181.00 ₹ INR
Regular
price
Sale
price
181.00 ₹ INR
Unit price
/
per