Skip to content

Github pages not displaying my vite.js website #10575

Answered by sapphi-red
claudeMassaad asked this question in Q&A
Discussion options

You must be logged in to vote

I guess you published the source instead of dist. You'll need to run npm run build and publish the generated dist directory.
See https://vitejs.dev/guide/static-deploy.html#github-pages for more details.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@claudeMassaad
Comment options

@jees47
Comment options

@rodrigoroa14
Comment options

@postboxat18
Comment options

Answer selected by patak-dev
Comment options

You must be logged in to vote
2 replies
@acafetech
Comment options

@Eonwe98
Comment options

Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
9 participants
Converted from issue

This discussion was converted from issue #10572 on October 21, 2022 08:15.