Vue-carousel: DOM Mismatch

Created on 13 Apr 2019  路  5Comments  路  Source: SSENSE/vue-carousel

Capture1233
Any reason to why i am getting this ????
PS. I want carousel to be SSR

Most helpful comment

@ElijahKotyluk i am aware of <no-ssr> thing but then the content will not be available for SEO

All 5 comments

Which version of Nuxt are you using?

@ElijahKotyluk NUXT 2.6.1

This is a common issue with Nuxt SSR and using third party components, you may need to wrap the component in a no-ssr tag for it to work within Nuxt, as some components are not compatible. So this is a common work around:

<template>
    <no-ssr>
      <component />
   </no-ssr>
</template>

Or you can try moving all DOM manipulations to the mounted lifecycle hook. Aside from that, I couldn't say without seeing your code.

@ElijahKotyluk i am aware of <no-ssr> thing but then the content will not be available for SEO

@maverickpravin
#192
#81

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rizqirizqi picture rizqirizqi  路  5Comments

blackforestcode picture blackforestcode  路  4Comments

roni-estein picture roni-estein  路  4Comments

manniL picture manniL  路  3Comments

doginthehat picture doginthehat  路  3Comments