3 Kinds of Props in Vue
3 Kinds of Props in Vue
In most cases, you can use scoped slots instead of render props But, it might be useful in some cases with SFC template>
A slot prop in is a way to pass data from a child component to a parent component through a slot When you define a slot in a child component, you
vue 3 slot Slots and Named Slots A regular Slot is a way for a parent component to send in some information to a child component outside of the standard Props mechanism
vue default slot Naming multiple slots and getting props from can name our slots so that we can have multiple slots in one component
Regular
price
109.00 ₹ INR
Regular
price
109.00 ₹ INR
Sale
price
109.00 ₹ INR
Unit price
/
per