Skip to content

Blank page when deploying react site to github pages with custom domain name #55007

Answered by linuxlawson
oDragon asked this question in Actions
Discussion options

You must be logged in to vote

In your index.html you have this link:
<script type="module" src="/src/index.jsx"></script>

I think you need a . in front of the slash. So changing it to:
<script type="module" src="./src/index.jsx"></script>

Might help, it's worth a try.

Replies: 5 comments 15 replies

Comment options

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

@oDragon
Comment options

@linuxlawson
Comment options

@oDragon
Comment options

Answer selected by oDragon
Comment options

You must be logged in to vote
7 replies
@General-Monish
Comment options

@oDragon
Comment options

@sonunigambar
Comment options

@oDragon
Comment options

@sonunigambar
Comment options

Comment options

You must be logged in to vote
2 replies
@OmBharsakle

This comment was marked as spam.

@oDragon
Comment options

This comment was marked as spam.

Comment options

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

@zachmshort
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
8 participants