DEV Community

Discussion on: Vue.js Carousels: SSR Support And Performance

Collapse
 
sintj_ profile image
Stefano • Edited

I don't know why, but i can't manage to make it work. The slide is vertical and the slides are one on top of the others! I made a blank project to test it and is still broken:

<template>
  <div>
      <VueSlickCarousel v-bind="carouselSettings">
        <div><h1>Test1</h1></div>
        <div><h1>Test2</h1></div>
        <div><h1>Test3</h1></div>
      </VueSlickCarousel>
  </div>
</template>

<script>

  import VueSlickCarousel from 'vue-slick-carousel'
  import 'vue-slick-carousel/dist/vue-slick-carousel-theme.css'


export default {
  components: {
      VueSlickCarousel
  },
  data(){
    return{
      carouselSettings:{
        "dots": true,
        "focusOnSelect": true,
        "infinite": true,
        "speed": 500,
        "slidesToShow": 3,
        "slidesToScroll": 3,
        "touchThreshold": 5
      }
    }
  }
}

<style scoped>
h1{
   background-color:red
}

Screenshot:
dev-to-uploads.s3.amazonaws.com/i/...

Collapse
 
evansgary profile image
EvansGary

Same issue here

Collapse
 
kyuwoochoi profile image
KyuWoo Choi

Please submit the issue to the GitHub please.