SSENSE/vue-carousel

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

Open

#224 aberto em 20 de jun. de 2018

Ver no GitHub
 (11 comments) (0 reactions) (0 assignees)JavaScript (513 forks)batch import
bughelp wantedquestion

Métricas do repositório

Stars
 (1.705 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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)

Guia do colaborador