vue 3.4 warning about __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ #16728
-
Should I add the flag (default value false) or will a new quasar release handle this? According to https://vuejs.org/api/compile-time-flags.html#vue-prod-hydration-mismatch-details Currently my browser shows me
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
I think we have to wait until quasar upgrade |
Beta Was this translation helpful? Give feedback.
-
I did this in quasar.config.js to let the warning go: build: {
extendViteConf(viteConf) {
viteConf.define.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__ = false;
},
} |
Beta Was this translation helpful? Give feedback.
-
I don't know if this is the best, or fully correct way to solve the issue, please offer some guidance if so, but I was able to fix this error by adding the following lines of code within the quasar.config.js file Under Add: Within the 'build: {}' section, add the following:
Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Add to
|
Beta Was this translation helpful? Give feedback.
-
Please upgrade to q/app-webpack 3.12.2 or q/app-vite 1.7.2 |
Beta Was this translation helpful? Give feedback.
-
// vite.config.js export default defineConfig({ |
Beta Was this translation helpful? Give feedback.
Please upgrade to q/app-webpack 3.12.2 or q/app-vite 1.7.2