Skip to content

Client routing not working for first page load if served by aws s3 #558

Discussion options

You must be logged in to vote

The solution is to ensure you are also prerendering the SPA page. If you want client routing, SSG and route params, the only way you can do that using vite-plugin-ssr's routing is to pre-render a basic SPA page and then manage the content through query params.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zenstok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #557 on December 14, 2022 15:06.