SSENSE/vue-carousel

Question: How can I render two carousel on one page with nuxt?

Open

#224 opened on 2018年6月20日

GitHub で見る
 (11 comments) (0 reactions) (0 assignees)JavaScript (1,705 stars) (513 forks)batch import
bughelp wantedquestion

説明

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)

コントリビューターガイド

Question: How can I render two carousel on one page with nuxt? · SSENSE/vue-carousel#224 | Good First Issue