2

After npm run build, i upload build folder to github, it doesn't work.

Check this link
GitHub

Why?

2
  • Check the developer console in your browser. You have 404 errors for both your javascript and your css. Commented May 1, 2017 at 14:45
  • I used create-react-app and then just run npm run build. Didn't change any code in it. Why it gives error? Commented May 1, 2017 at 14:46

1 Answer 1

1

Follow this and it will work.

Demo: https://azad56789980.github.io/myapp2/

GitHub: https://github.com/azad56789980/myapp2/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.