Use the Single Page Application templates with ASP.NET Core

Note

The released .NET Core 2.0.x SDK includes older project templates for Angular, React, and React with Redux. This documentation isn't about those older project templates. This documentation is for the latest Angular, React, and React with Redux templates, which can be installed manually into ASP.NET Core 2.0. The templates are included by default with ASP.NET Core 2.1.

Prerequisites

Installation

If you have ASP.NET Core 2.0, run the following command to install the updated ASP.NET Core templates for Angular, React, and React with Redux:

dotnet new --install Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0

Use the templates