Baroshem / nuxt-lazy-hydrate

💦 Lazy Hydration Module for Nuxt
https://www.npmjs.com/package/nuxt-lazy-hydrate
89 stars 1 forks source link

Hydration node mismatch Nuxt 3 #5

Open DevMojahed opened 1 year ago

DevMojahed commented 1 year ago

Hello dear, I use it in Nuxt 3 project, but i get this: [Vue warn]: Hydration node mismatch How should I solve it?

"devDependencies": {
      "nuxt": "3.5.3",
}
"dependencies": {
      "nuxt-lazy-hydrate": "^1.0.0",
}

nuxt.config.ts:

modules: [
    '@pinia/nuxt',
    'nuxt-lazy-hydrate'
  ],

and I use it like this:

 <NuxtLazyHydrate :when-visible="true">
    <MyComponentWithFetchData />
 </NuxtLazyHydrate>
Baroshem commented 1 year ago

Hey,

could you please create a Stackblitz reproduction with this error? I have not experienced it yet

DevMojahed commented 1 year ago

Hi, of course I will send but now, it works for me in production mode without warn, but in dev mode I have that warns