SSENSE/vue-carousel
Auf GitHub ansehenQuestion: How can I render two carousel on one page with nuxt?
Open
#224 geöffnet am 20. Juni 2018
bughelp wantedquestion
Repository-Metriken
- Stars
- (1.705 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
I have a problem with nuxt:
If I use two carousel into one page, I get this error
you may have an infinite update loop in a component render function
And the first carousel doesn't have correct width/height
The template is like:
<div>
<no-ssr>
<carousel>
<slide>
...
</slide
<slide>
...
</slide
</carousel>
</no-ssr>
...
...
<no-ssr>
<carousel>
<slide>
...
</slide
<slide>
...
</slide
</carousel>
</no-ssr>
</div>
And plugin:
import Vue from 'vue'
import VueCarousel from 'vue-carousel'
Vue.use(VueCarousel)