Skip to content

Problems with Reloading on Vercel #2629

Answered by gbj
TheRealSalmon asked this question in Q&A
Discussion options

You must be logged in to vote

Generally speaking, if you are deploying any single-page app with client-side routing to any static server, you need to set up some way to rewrite any non-API requests to index.html so that they serve the HTML page that will load your client-side app. Glancing at Vercel docs it looks like rewrites are the way to do this. (Here is a longer article)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TheRealSalmon
Comment options

Answer selected by TheRealSalmon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants