1
/
of
1
component in component ref not working?
component in component ref not working?
Vue 3 if you are already using slot> in your components In Vue 2, you can create a named scoped slot like this: ItemList> template slot
slot :data='data' > div> template> script setup> import { ref } from 'vue' const data = ref script> Now we're gonna
vue 3 slot ref is a special attribute, similar to the key attribute discussed in the v-for chapter It allows us to obtain a direct reference to a specific DOM element or
vue slot name Since we've passed these attributes to the slot outlet earlier ( slot 6import { ref } from vue; 7 8const checkbox = ref; 9 10* eslint
Regular
price
119.00 ₹ INR
Regular
price
119.00 ₹ INR
Sale
price
119.00 ₹ INR
Unit price
/
per
Share
![vue slot ref](10052.png)