Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hydration node mismatch Nuxt 3 #5

Open
DevMojahed opened this issue Aug 19, 2023 · 2 comments
Open

Hydration node mismatch Nuxt 3 #5

DevMojahed opened this issue Aug 19, 2023 · 2 comments

Comments

@DevMojahed
Copy link

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
Copy link
Owner

Hey,

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

@DevMojahed
Copy link
Author

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

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

No branches or pull requests

2 participants