相关链接
React Routing works in local machine but not Heroku
How to use react route on heroku?
Tutorial: how to deploy a production React app to Heroku
React Routing works in locally but not Heroku
static.json not working for ReactJS routes and Heroku
React Router Routes Don’t work when deployed to Heroku
react-router vs react-router-dom, when to use one or the other?
How to properly use useHistory () from react-router-dom?
What is withRouter for in react-router-dom?
React router doesn’t seen to work on production with heroku
After heroku deployment, it looks like can’t find my react app files: GET / 404
An explanation of why router doesn’t work after deployed on Heroku
React router urls not working in heroku?
soggypizza1’s comment from discussion “React router urls not working in heroku?”
Using ‘history’ to navigate your React app from outside a component
终于!!!!BrowserRouter换成HashRouter可以了!!!但是HashRouter似乎适合没有backend的application
React Router working locally but not deployed on heroku
React-router urls don’t work when refreshing or writing manually