豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
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