Walkthrough: Getting started with JSS for Angular

Version: 22.x

This walkthrough describes how to create and run your first JSS Angular application.

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

This walkthrough describes how to:

  • Create the application.

  • Run the application.

Create the application

To create an application with JSS for Angular:

  • Run the following command:

    RequestResponse
    npx create-sitecore-jss@ver<version-number> angular [--appName <your-app-name> --fetchWith [REST| GraphQL]]

    Replace <version-number> with the version you wish to use. For example, 21.

Run the application

To start the 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.

Do you have some feedback for us?

If you have suggestions for improving this article,