Blog

React

Deploy

Deploy react to netlify

Deploy react to netlify

Ragav Kumar V

Ragav Kumar V

Aug 20, 2022 ยท 1 min read

There are 2 ways to deploy to netlify

  1. Type in terminal - npm run build
  2. Drag & Drop build folder into netlify
  1. Login to Netlify
  2. Connect to github & Choose your repo
  3. CI=false npm run build as Build command
  4. Deploy site
  5. Create _redirects file in public folder with below content

_1
/* /index.html 200

Deployment article

Freecodecamp deploy article

@ragavkumarv
swipe to next โžก๏ธ