React JS Start
sudo npm install -g create-react-appcd react-projects-folder
create-react-app my-app-name
cd my-app-name
npm start
How to deploy React App to Heroku Host.
git initheroku create $APP_NAME --buildpack mars/create-react-app
// where the $APP_NAME could be like "poshta-app", then it will be used for the domain name: https://poshta-app.herokuapp.com/
git add .
git commit -m "Start with create-react-app"
git push heroku master
heroku open
No comments:
Post a Comment