vue-slick-carousel
vue-slick-carousel copied to clipboard
Does it work with Vue 3?
i tried to do the basic stuff like the get started snipped but there is always an Error in console and some warnings. Should it work with vue 3 too?
[Vue warn]: beforeDestroy has been renamed to beforeUnmount.
[Vue warn]: Property "$scopedSlots" was accessed during render but is not defined on instance.
[Vue warn]: Unhandled error during execution of render function
Uncaught TypeError: Cannot read property 'prevArrow' of undefined
any update with this? i'm planning to use this component with Vue 3.
Edit: it seems that it's not compatible with Vue 3 yet. i get the same error.
Any ideas to use plugin with vue 3?
Wow, almost 2 years and no answer. Not even a "not possible".
$scopedSlots will be there for many, many legacy projects running Vue 2 and the lack of information about this situation prevents many people from migrating.
Given that, how can I migrate such code to Vue 3?
template(v-for='(_, slot) of $scopedSlots' v-slot:[slot]='scope')
slot(:name='slot' v-bind='scope')
Turns out that you can just replace $scopedSlots for $slots as mentioned here: https://www.vuemastery.com/blog/migration/
Turns out that you can just replace $scopedSlots for $slots as mentioned here: https://www.vuemastery.com/blog/migration/
Can you please provide an example on how to do that?