Deployment
yarn buid
ornpm run build
creates abuild
directory with a production build of your app. Set up your favourite HTTP server so that a visitor to your site is servedindex.html
, and requests to static paths like/static/js/main.<hash>.js
are served with the contents of the/static/js/main.<hash>.js
file.
If you want to deploy with Create React App, Please follow this link https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#deployment
For deploying your site in firebase visit Firebase Deployment page.
For deploying your site with AWS , Please follow this link https://blog.logicalicy.com/static-react-app-in-20-mins-with-aws-baac9c5f615b