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 stop working when target: static
and url contain non-ascii char
#10442
Comments
I had a similar problem too, but i am not js coder, can't analyze reason of the question |
I found out the cause. A payload is loaded by On the other hand, payload.js is a script that calls That is, because |
I created a patch to fix it: I confirmed it fixed the bug, but I don't know how to create its test... |
great, it is work, thank you |
This bug is not reproduced in I can't wait for the next release! XD |
Resolved via #9494 |
Versions
Reproduction
Check this repo for example code & detail reproduce procedure.
Hydration stop working when:
static
http://localhost:3000/%E3%84%A9%E3%84%87/id0/
from a clean browser sessionThis issue only happened in the static site generated by
nuxt generate
. It works as expected in dev mode, by runningnuxt
Steps to reproduce
What is Expected?
The page load without error in console
What is actually happening?
The console report
Payload is generated in
asyncData
in _id.vue, which will always return an object, ifasyncData
is executed.All javascript, except the one triggered from
layout/
directly, are not executed.For example, please edit content in the input box at bottom of
id0
page, although there's av-model
, the data attributes is not reactive.The text was updated successfully, but these errors were encountered: