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

I got a error message about "Hydration completed but contains mismatches." #869

Open
fer-apong opened this issue Jan 16, 2025 · 0 comments

Comments

@fer-apong
Copy link

This is a Question

page/index.vue
<div class="display-5" data-aos="fade-left">{{ slideTextsInfo.title }}</div>

after "pnpm dev", chrome report:
`
runtime-core.esm-bundler.js:51 [Vue warn]: Hydration class mismatch on

  • rendered on server: class="display-5 aos-init aos-animate"
  • expected on client: class="display-5"
    `

package.json:
"dependencies": { "@mdi/font": "^7.4.47", "@popperjs/core": "^2.11.8", "animate.css": "^4.1.1", "aos": "^2.3.4", "bootstrap": "^5.3.3", "nuxt": "^3.15.0", "nuxt-swiper": "2.0.0", "vue": "latest", "vue-router": "latest" },
How can I resolve this error message

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

1 participant