reference:
Route change trigger url change, but doesn't render
https://github.com/ionic-team/ionic-framework/issues/20707
react-router does not work in production and surge deployments
looks like you're using create-react-app. This works when you're developing locally because create-react-app's react-scripts package handles serving your index.html as a fallback for these requests.
https://stackoverflow.com/questions/44491184/react-router-does-not-work-in-production-and-surge-deployments
No comments:
Post a Comment