: slots vs props - by Nico Meyer
slot props) !-- --> template> p>Current slide is {{ ? 'active' : 'not active'}}p> template> script> import
Slot - vue slot props slot props) !-- --> template> p>Current slide is {{ ? 'active' : 'not active'}}p> template> script> import vue slot ref Components with slots can expose their data by passing it into the slot and exposing the data using slot-scope in the template
vue slot class But Template Props have a unique trait They're similar to slots You can always replace a Template Prop with a slot for more flexibility Let's
Regular
price
148.00 ₹ INR
Regular
price
Sale
price
148.00 ₹ INR
Unit price
/
per