Replies: 1 comment 6 replies
-
I think I may have found the answer: Update vitepress. I was running 1.0.0-alpha.10. Updating to 1.0.0-alpha.38 seems to have fixed the problem. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having trouble deploying a vitepress-based site to Netlify. If I enter the site through its root page then all the navigation works fine, but if I navigate to a non-root page then hit refresh, then navigation no longer works after that point.
This felt very much like the same challenge I have previously encountered with deploying a vue-router-based site to Netlify, which I resolved by writing a
_redirects
file with the following contents:However that doesn't seem to fix the problem for me with vitepress. Anyone know how to fix this?
I have
cleanUrls
set to"with-subfolders"
.Beta Was this translation helpful? Give feedback.
All reactions