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

vue 3.4 Feature flag __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ is not explicitly defined #405

Open
5 of 7 tasks
rezelute opened this issue Jun 19, 2024 · 1 comment
Open
5 of 7 tasks

Comments

@rezelute
Copy link

Describe the bug

When using vite ssg with the latest version of Vue 3.4, im getting the following warning:
vue 3.4 Feature flag __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ is not explicitly defined

Reproduction

install vite ssg with vue 3.4

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 AMD Ryzen 5 5600X 6-Core Processor
    Memory: 6.99 GB / 31.92 GB
  Binaries:
    Node: 20.14.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (126.0.2592.61)

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
@rezelute
Copy link
Author

I have solved this by adding the lines below however im unsure if its trying to tell me that there is a genuine problem. Is it just because im running the dev server?

define: {
         __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: false,
      },

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