Here are the steps required to reproduce this bug:
Generate a static site using nuxt generate.
Preview the site using nuxt preview.
Accept or Decline the cookie banner.
Reload the page.
The console shows the error Hydration completed but contains mismatches.
Note: Due to https://github.com/stackblitz/webcontainer-core/issues/1439nuxt preview is not working on the stackblitz (possibly only on Windows). So it's best to download the reproduction. But the problem should basically be reproducable on every project.
Environment
Build Modules: -
Reproduction
https://stackblitz.com/edit/nuxt-starter-kulhpc?file=app.vue
Describe the bug
First of all many thanks for this great module!
Here are the steps required to reproduce this bug:
nuxt generate
.nuxt preview
.Accept
orDecline
the cookie banner.Hydration completed but contains mismatches
.Note: Due to https://github.com/stackblitz/webcontainer-core/issues/1439
nuxt preview
is not working on the stackblitz (possibly only on Windows). So it's best to download the reproduction. But the problem should basically be reproducable on every project.Additional context
No response
Logs
No response