#18 - Component Slots - Vue 3 Tutorial
#18 - Component Slots - Vue 3 Tutorial
Scoped component slots are a feature introduced in Vue 0 They allow you to pass properties from your child components into a scoped slot
Create a New Vue Project >> vue create slotwork eslint-plugin-vue: ^ 3 } Example 1: In this
vue slot class Slots are a way to pass a template to your component like you would pass a value to it via props If you only use the default slot in your
vue default slot With Vue slots, you can turn a part or all of your components into reusable templates that will render differently based on different use cases
Regular
price
197.00 ₹ INR
Regular
price
197.00 ₹ INR
Sale
price
197.00 ₹ INR
Unit price
/
per