3 Kinds of Props in Vue
3 Kinds of Props in Vue
Related Post: Vue 3 Composition API tutorial with examples The categories attribute is called slot props In the parent scope, Vue v-slot
Component · Register Component · Defining a Component · Props · Events · Slots · Provide & Inject
vuejs slot Component · Register Component · Defining a Component · Props · Events · Slots · Provide & Inject
vue default slot In this case, Vue throws a compile error because the old-style attributes will be deprecated See Example 3 below slot=other v-slot=slotProps> !
Regular
price
117.00 ₹ INR
Regular
price
117.00 ₹ INR
Sale
price
117.00 ₹ INR
Unit price
/
per