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 app on Layer0.
To create a new React Storefront app, run:
npm create react-storefront@^8.0.0 myapp
Select "Yes" when answering the following question:
? Will you be deploying your app on Layer0? › no / yes
To run your app locally:
Deploying requires an account on Layer0. Sign up here for free. Once you have an account, you can deploy to Layer0 by running the following in the root folder of your project:
See the Prefetching Guide in the React Storefront documentation.