adrianhajdin / project_3D_developer_portfolio

The most impressive websites in the world use 3D graphics and animations to bring their content to life. Learn how to build your own ThreeJS 3D Developer Portfolio today!
https://jsmastery.pro
5.81k stars 1.29k forks source link

Deploying to github pages #59

Closed lucylanlou closed 1 year ago

lucylanlou commented 1 year ago

My site runs perfectly locally on http://localhost:5173/ but when i tried deploying with github pages, I am getting a blank screen with these errors:

image

Anyone know how to fix these?

lucylanlou commented 1 year ago

Resolved, I followed https://vitejs.dev/guide/static-deploy.html#github-pages I got stuck for a bit before I realized the static.yml file the guide uses is different from the default static.yml provided by github. I made sure the matched and it worked!

SamyamS commented 12 months ago

@lucylanlou this worked! I had been struggling to deploy it on github pages since yesterday. Thank you :)