Deploy React.js web apps generated with create-react-app.
Automates deployment with the built-in tooling and serves it up via Nginx.
- Node.js
- create-react-app
npm install -g create-react-app
create-react-app my-app
cd my-appgit initRequires the command-line tools & a free account from Heroku.
heroku create -b https://github.com/mars/create-react-app-buildpack.gitgit add .
git commit -m "react-create-app on Heroku"
git push heroku masterheroku openWork with your app locally using npm start. See: create-react-app docs
Then, commit & deploy ♻️