React Storefront

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 the XDN.

Creating a React Storefront App

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 the Moovweb XDN? › no / yes

Running Locally

To run your app locally:

npm start

Deploying

Deploying requires an account on the Moovweb XDN. Sign up here for free. Once you have an account, you can deploy to the Moovweb XDN by running the following in the root folder of your project:

xdn deploy

Prefetching

See the Prefetching Guide in the React Storefront documentation.