Slot に Class を強制する
When you do not specify any name in your slot, Vue will do it for you and call it “default template> div class=my-child-component> slot>
Vue 3 Slots Explained: Enhancing Component Flexibility vue slot class When you do not specify any name in your slot, Vue will do it for you and call it “default template> div class=my-child-component> slot> vue slot props to : Any URL or a route location object from Vue Router · custom : Whether NuxtLink> should wrap its content in an a> element · exactActiveClass : A class to
vue vslot Combining classes with class:list Section titled Combining classes with class:list slot >div> style> box { border: 1px solid blue; } red { border
Regular
price
143.00 ₹ INR
Regular
price
Sale
price
143.00 ₹ INR
Unit price
/
per