AspNetCore.Docs/aspnetcore/spa/index.md

1.4 KiB

title author description manager ms.author ms.custom ms.date ms.devlang ms.prod ms.technology ms.topic uid
Use the Single Page Application templates SteveSandersonMS Learn how to install and get started with the ASP.NET Core Single Page Application (SPA) project templates. wpickett scaddie mvc 02/21/2018 csharp aspnet-core aspnet article spa/index

Use the Single Page Application templates

[!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