You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to deploy my react app to github pages, and I'm running into an issue where the url I provide loads the main index.html, but none of my react scripts. When I open view source on my github pages site I see the main index.html.
I followed the directions given in: create-react-app/packages/react-scripts/template/README.md, and everything worked up to this point. I also notice in my build folder that none of my react scripts are included, so perhaps this is the issue. Please advise.
Hi @themre ,
I was facing the same issue a few days ago and decided to stop messing up with github pages since it's not that friendly with single page apps. I succeeded to use surge.sh without extra dancing around, here is my react.js repo: https://github.com/sergeysolovev/swader. Check out package.json, predeploy and deploy sections. That's all you're going to need. Optionally, you can add CNAME and .surgeignore to you public folder.
Hi, I am trying to deploy my react app to github pages, and I'm running into an issue where the url I provide loads the main index.html, but none of my react scripts. When I open view source on my github pages site I see the main index.html.
I followed the directions given in: create-react-app/packages/react-scripts/template/README.md, and everything worked up to this point. I also notice in my build folder that none of my react scripts are included, so perhaps this is the issue. Please advise.
Here is my git repo
Here is the github pages site
Thanks!
The text was updated successfully, but these errors were encountered: