React Storefront helps developers build sub-second e-commerce progressive web apps in record time. This guide shows you how to deploy a React Storefront application to Edgio.
Sign up for Edgio
Deploying requires an account on Edgio. Sign up here for free.
Creating a React Storefront App
To create a new React Storefront app, run:
Bash
1npm create react-storefront@^8.0.0 myapp
Select “Yes” when answering the following question:
Bash
1? Will you be deploying your app on Edgio? › no / yes
Running Locally
To run your app locally:
Bash
1npm start
Deploying
Deploy your app to the Sites by running the following command in your project’s root directory:
Bash
10 deploy
Prefetching
See the Prefetching Guide in the React Storefront documentation.