Skip to content
Discussion options

You must be logged in to vote

It is important to note that vite preview is intended for previewing the build locally and not meant as a production server.

You should read https://vite.dev/guide/static-deploy.html#deploying-a-static-site or https://docs.astro.build/en/guides/deploy/

If you site is purely static, I advice using Netlify which doesn't require anything a part from linking the github repo.

Replies: 2 comments 1 reply

Comment options

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

Answer selected by 1hachem
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants