<div data-pagination='{"el": ".swiper-pagination"}' data-space-between="50" class="swiper-container swiper-init demo-swiper">
<div class="swiper-pagination"></div>
<div class="swiper-wrapper">
<div class="swiper-slide" v-for="photo in sliders">
<img :src="photo.url" alt="">
</div>
</div>
</div>
What is exactly doesn’t work?
v-for does not work. only first image from slider array is displayed
data fetched from database and assigned to sliders[] array
this is data consoled
but v-for loop does not work just only first image is displayed
I did that too… but it doesn’t work for me .