Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

nuxt->ssr There is a Vue WARN #818

Open
hhb2 opened this issue Oct 21, 2021 · 1 comment
Open

nuxt->ssr There is a Vue WARN #818

hhb2 opened this issue Oct 21, 2021 · 1 comment

Comments

@hhb2
Copy link

hhb2 commented Oct 21, 2021

use thumbs

code:

<swiper ref="swiperTop" :options="swiperOptionTop">
        <swiper-slide class="slide-1">
          <img src="" alt="" />
        </swiper-slide>
        <div slot="button-next" class="swiper-button-next swiper-button-black"></div>
        <div  slot="button-prev" class="swiper-button-prev swiper-button-black"></div>
</swiper>

<swiper  ref="swiperThumbs" :options="swiperOptionThumbs">
        <swiper-slide class="slide-1">
          <img src="" alt="" />
        </swiper-slide>
</swiper>

warning:
image

@hhb2 hhb2 closed this as completed Oct 21, 2021
@hhb2 hhb2 reopened this Oct 21, 2021
@brnteka
Copy link

brnteka commented Oct 25, 2021

you likely should wrap the slider with <client-only/> or use directive method

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants