You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Simply adding the swiper to a page like this: <swiper ref="mySwiper" :options="swiperOptions"></swiper>
causes the virtual DOM tree not matching server side rendered content. [Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.
The generated HTML in the browser then looks like this: <div class="swiper-container swiper-container-initialized swiper-container-horizontal swiper-container-pointer-events"><div class="swiper-wrapper" style="transition-duration: 0ms;"></div></div>
What exactly is causing the error and how can it be solved?
The text was updated successfully, but these errors were encountered:
but if you did this wrap with code client-only, the html code will lose these seo related info. so Does anyone can fix this issue or can you give us any advice?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Simply adding the swiper to a page like this:
<swiper ref="mySwiper" :options="swiperOptions"></swiper>
causes the virtual DOM tree not matching server side rendered content.
[Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.
The generated HTML in the browser then looks like this:
<div class="swiper-container swiper-container-initialized swiper-container-horizontal swiper-container-pointer-events"><div class="swiper-wrapper" style="transition-duration: 0ms;"></div></div>
What exactly is causing the error and how can it be solved?
The text was updated successfully, but these errors were encountered: