Skip to content

Instantly share code, notes, and snippets.

View SAADIQBAL19114's full-sized avatar
🎯
Focusing

SAADIQBAL19114

🎯
Focusing
View GitHub Profile
@SAADIQBAL19114
SAADIQBAL19114 / deploy-reactApp-on-surge.md
Last active January 24, 2024 14:39
how to deploy a react app on the surge

Deploying a React app with Surge (from Create React App format)

1. Make sure you have surge installed globally

  • npm install -g surge

2. Run the Create React App build

  • cd your-react-project
  • npm run build