reduction-admin / react-reduction

React Reduction - Free Admin Template Built with React and Bootstrap4
https://reduction-admin.github.io/react-reduction/
MIT License
1.51k stars 562 forks source link

Build Problem #34

Closed Nimitt3 closed 5 years ago

Nimitt3 commented 5 years ago

When taking a build using "npm run build" and placing the Build in Root of Tomcat and running it. It gives 404 on requests https://reduction-admin.github.io/react-reduction/static/js/main.24564f9f.chunk.js and https://reduction-admin.github.io/react-reduction/static/js/2.f4291240.chunk.js.

Why is that.. and what is the solution for it ??

simsim0709 commented 5 years ago

Oh sorry, I don't have any experience of using this app with tomcat.

But, it might be helpful for you.

https://stackoverflow.com/questions/41246261/react-routing-is-able-to-handle-different-url-path-but-tomcat-returns-404-not-av/41249464#41249464

https://facebook.github.io/create-react-app/docs/deployment#serving-apps-with-client-side-routing