Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 861 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 861 Bytes

Web: Netlify React App

React App

npm install -g create-react-app         --> Install React App
npx create-react-app <name>             --> Create React App
cd <name>                               --> Go to the directory
npm start                               --> Create a development build
npm i                                   --> Install all packages

Serve

npm install -g serve                    --> Install Serve
npm run build                           --> Create a production build
npx serve -s build                      --> Serve the build directory

Netlify

npm install -g netlify-cli              --> Install Netlify CLI
npx netlify deploy                      --> Deploy to Netlify with development build
npx netlify deploy --prod               --> Deploy to Netlify with production build