[Vuejs]-Issues Owl Carousel With Vue.js

0👍

Maybe you could try something like this:

mounted: function(){
  this.$http.get('v2/promotion', {headers: getHeader()})
    .then(response => {
      this.sliders = response.body.data
      Vue.nextTick(function(){
          this.installOwlCarousel();
      }.bind(this))
    }).catch((err)=>{
    if(err) console.log(err)
  })
},

Leave a comment