-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
use async code in beforeRouteEnter hook,it throw some error #3029
Comments
i fetch date in beforeRouteEnter,when and 'next()' when date is back.like below then vue warn like 'vue.runtime.esm.js:587 [Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside , or missing . Bailing hydration and performing full client-side render.' |
There is not enough detail here to be able to help you and also it is not really clear. The problem is not in the code you shared, but somewhere else. |
when i use async code in beforeRouteEnter i can get the warn information like below @husayt please help me |
@ytudt still there is no enough detail to help you |
Closing this as there's been no updates over 90 days. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The text was updated successfully, but these errors were encountered: