Skip to main content

Walkthrough: Getting started with JSS for React

Abstract

How to create and run an application with JSS for React using the JSS CLI.

This walkthrough describes how to create and run your first JSS React application using the JSS CLI.

Before you can create and run an application with JSS for React, you must first:

This walkthrough describes how to:

  • Create the application.

  • Run the application.

To create an application with JSS for React:

  • Run the following command:

    jss create <app-name> react [--fetchWith <GraphQL || REST>]

To start your application, run one of the following scripts in a terminal, depending on your chosen development workflow:

Note

You can find script definitions in the package.json file of your new JSS application.