Replies: 2 comments
-
Check your browser console. Most likely there will be hydration issues. You check them locally too - by running Regarding errors on the build, they are from accessing window somewhere. (https://vitepress.dev/guide/ssr-compat) It's hard to precisely tell what's wrong since this is a closed site. Also on https://docs.treezor.com/guide/overview/getting-started.html, the SSR is completely broken. The HTML just have |
Beta Was this translation helpful? Give feedback.
-
When generating static files, window object is not existing. You can try codes like this:
P.S. The Boolean value inBrowser can only be used in vitepress. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
When i m navigating through the browser url, i have navigation issues only on deployed application (on localhost, i didn't observe this behaviour). Either a different page is showing than the one asked, either the home page is not fully loaded. Otherwise, when i navigate through links on the website, i do not observe issues. It appears on v1.6.2 and still do on v1.6.3.
Got this homepage:
https://github.com/alxg0v1/images/blob/main/homepage_bug.png
Expected this homepage:
https://github.com/alxg0v1/images/blob/main/homepage_ok.png
Got this content:
https://github.com/alxg0v1/images/blob/main/gettingstarted_bug.png
Expected this content:
https://github.com/alxg0v1/images/blob/main/gettingstarted_ok.png
Reproduction
On a deployed v1.6.2 or v1.6.3 vitepress app, enter directly the url of your vitepress homepage on your browser, the homepage loads the header only. try to enter a working path of your vitepress on you browser url bar, it could not be the asked page.
Expected behavior
When i enter, the URL homepage of my vitepress, i expect the page to be the good one et to be fully loaded.
System Info
Additional context
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions