generator-aspnetcore-angular-2
> Generate a Visual Studio/Code project for ASP.NET Core, Angular 2, and TypeScript 2 using Webpack
Templates
1. Movie Review Starter Kit - Single Page App using new ASP.NET Core, Angular 2, TypeScript and tons of other things
Features
* Visual Studio 2017 RC Version
* Visual Studio Code
*
ASP.NET Core
* Angular 2
* TypeScript
* Webpack
* WEB API
* Bootstrap
Installation
First, install
Yeoman and generator-aspnetcore-angular-2 using
npm (I assume you have pre-installed
node.js).
``
bash
npm install -g yo
npm install -g generator-aspnetcore-angular-2
`
Then create one project folder say sample and then run below command:
`
bash
yo aspnetcore-angular-2
`
Command line
From the root folder, let's navigate to actual app folder as shown below:
$3
`
cd sample\src\sample
dotnet restore
dotnet run
``
Result
What it looks like:
!
Console
What you get:
!
Home
!
About
Learn more about the generator
You can learn more about this generator, its functionality and extensibilty at
Generator
About the Author
Rahul Sahay is Microsoft MVP. He is seasoned professional. Learn more about me and my articles @
My-Blog
Follow Me
You can follow me for latest updates on my twitter handle @
Twitter
License
MIT
rahulsahay19