We're need some tools installed:
- NodeJs;
-
Surge CLI; (
npm install --global surge) - Yarn; (optional)
Steps:
1. Build our React project
-
yarn buildornpm build
2. Publish with surge.sh
-
surge(Will request your credentials) {your_email}{your_password}{path of build result from your project}-
{your_domain}(without HTTP/HTTPS, ex: myreactapp.surge.sh)
3. Wait to access your project with output link from previous step!
Thanks for reading!
Top comments (0)