With the release of Visual Studio 2017 version 15.3 there are now built in web application templates for Angular, React, and React and Redux.
This is an awesome addition and makes creating new applications with the most popular frameworks simple. What do you do if your framework isn’t one of the top 3 options? JavaScriptServices can help out here and has provided templates for Aurelia, Vue, and Knockout in the past.
Where have they gone?
This is where it gets a little tricky as the templates still exist and are still being maintained, but finding them is a little harder at the moment for some reason. Yeoman was how JavaScriptServices was used in the past, but that has now transitioned to using the .NET CLI and can be added using the following.
dotnet new --install Microsoft.AspNetCore.SpaTemplates::*
After that is complete you will see a list of templates that are now available.
Now you can create an Aurelia project using the following command.
dotnet new aurelia
Wrapping up
I was very happy to see that support for the other frameworks hadn’t been dropped. There are a ton of other templates available for dotnet new which can be found here.
Also published on Medium.