You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build, await router.isReady() gets blocked indefinitely. To reproduce this issue, I added this line of code in my main.ts, which indeed caused the subsequent code to be blocked, leaving a blank page in the browser.
Then, I found that my router does not block await router.isReady() when not using vite-ssg before.
Therefore, it might indicate where the problem lies? I have debugged this issue with await router.isReady() for a long time and even looked at many related issues but found no solution.
When I build,
await router.isReady()
gets blocked indefinitely. To reproduce this issue, I added this line of code in mymain.ts
, which indeed caused the subsequent code to be blocked, leaving a blank page in the browser.Then, I found that my router does not block
await router.isReady()
when not usingvite-ssg
before.Therefore, it might indicate where the problem lies? I have debugged this issue with
await router.isReady()
for a long time and even looked at many related issues but found no solution.main.ts
The text was updated successfully, but these errors were encountered: