{
flickityOptions: {
initialIndex: this.$route.params.imageindex,
prevNextButtons: false,
pageDots: false,
wrapAround: true,
// imagesLoaded: true,
lazyLoad: 2,
},
}
},
how can i achieve this?
I think if you write in beforeMount sth like this that might help: beforeMount() { this.initialIndex: $rout.params.imageindex; } Anyway I'm not sure if this can help, just try it
Обсуждают сегодня