WIlbert Chandra
WIlbert Chandra

Reputation: 13

Vite React with routing app displaying blank page on github pages

I've been trying to deploy a react app on github pages but it keeps rendering a blank page. Github repo : https://github.com/GilbertKrantz/UniPal Deployed link : https://gilbertkrantz.github.io/UniPal/

I've tried a few different things (changing https to http, starting a new repo) each time I've made a git push and waited a while for github to build it but even after hours there is no change.

Upvotes: 0

Views: 113

Answers (1)

Armen
Armen

Reputation: 219

enter image description here

enter image description here

As I guess, the problem is with the paths after the build. Change the paths in index.html. It should fix the problem; if not, I'll take another look.

Upvotes: 0

Related Questions