Open NguyenThao1912 opened 2 years ago
Im getting this errror when use this library can someone help me fix this Here is my code and script
`
<body> <section id="banner"> <vue-slick-carousel v-bind="settings"> <div> <img class="w-full h-full" src="~/assets/uploads/images/banner_1.jpg" alt="" /> </div> </vue-slick-carousel> </section> <div class="container mx-auto px-6 rounded-md shadow-2xl bg-red-100 mt-5 p-5"> <section class="block relative"> <div class="_heading_container p-1 font-semibold text-xl"> <h2>acbxyz</h2> </div> <div class="_home_list_popular relative pr-2 pl-2 pt-3"> <vue-slick-carousel v-bind="settings_banner"> <div v-for="item in info.data" :key="item.id"> <div class="_item_container flex relative h-52 w-40 rounded-md overflow-hidden"> <div class="_item_background_image h-full w-full rounded-md" :style="{ backgroundImage: `url(${item.thumbnail})` }"></div> <div class="_item_name_container absolute w-full h-full flex justify-center items-end pb-1 pr-1 pl-1"> <span class="_item_name text-base p-1 font-medium"> {{ item.name }}</span> </div> </div> </div> </vue-slick-carousel> </div> </section> <section></section> </div> </body>
Hey,
I faced the same problem.
The solution was to never call the component twice in same page
Hope that help
Thanks
Im getting this errror when use this library can someone help me fix this Here is my code and script
`
`
`
`