Skip to product information
1 of 1

vue slot name

vue slot name

How to set the name prop of slot when using v-slot in loop? vue slot name If you're using a named slot, you'll need a template> with the slot name as an attribute, starting with # slot> s, not props when writing vue slot ref We're accessing the current iteration of our items in this way to override the 'item' named slot fallback content of ListBase I typed this on

vue slot This means that we can use the presence of our slot's name in this object as a boolean value to conditionally do things in our UI

Regular price 121.00 ₹ INR
Regular price Sale price 121.00 ₹ INR
Sale Sold out
View full details