Which SPA template to download for CRA based app? #177

Closed
opened 2025-08-09 17:15:17 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @jamesmosier on 2/12/2018

Sorry for such a basic question, but I am new to the MS SPA Template world and am having some trouble navigating it.

I followed this Microsoft guide to create a .NET/React project using one of the SPA templates. I saw at the top of that guide it says: "This documentation isn't about the released React project template. This documentation is about the release candidate of the React template." which I assume to mean "get the RC version of the template from Nuget".

I ran the command dotnet new --install Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0-rc2-final and then dotnet new react -o my-app. But then when I open up my newly created project, it looks like:

screen shot 2018-02-11 at 10 27 20 pm

(it is using TS and not using CRA)

but I was expecting it to look like the example code found over in the templating repo which uses CRA for the React app.

What version of the template do I need in order to get the version of code found in the templating repo?

*Originally created by @jamesmosier on 2/12/2018* Sorry for such a basic question, but I am new to the MS SPA Template world and am having some trouble navigating it. I followed [this Microsoft guide](https://docs.microsoft.com/en-us/aspnet/core/spa/react?tabs=netcore-cli) to create a .NET/React project using one of the SPA templates. I saw at the top of that guide it says: "This documentation isn't about the released React project template. This documentation is about the release candidate of the React template." which I assume to mean "get the RC version of the template from Nuget". I ran the command `dotnet new --install Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0-rc2-final` and then `dotnet new react -o my-app`. But then when I open up my newly created project, it looks like: <img width="292" alt="screen shot 2018-02-11 at 10 27 20 pm" src="https://user-images.githubusercontent.com/2854919/36082799-be348e1a-0f7a-11e8-82fc-2ff24b8ca524.png"> *(it is using TS and not using CRA)* but I was expecting it to look like the example code found over in the [templating repo](https://github.com/aspnet/templating/tree/dev/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/React-CSharp) which uses CRA for the React app. What version of the template do I need in order to get the version of code found in the `templating` repo?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#177
No description provided.