From 4665d1f458194f8f9182ba94b94e3d0fdb9a2363 Mon Sep 17 00:00:00 2001 From: Mark Pieszak Date: Wed, 27 Jul 2016 15:33:17 -0400 Subject: [PATCH] docs(readme): Show how to get started with yeoman --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ed2f172..df94094 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,19 @@ Everything here is cross-platform, and works with .NET Core 1.0 RC2 or later on If you want to build a brand-new ASP.NET Core app that uses Angular 2 / React / Knockout on the client, consider starting with the `aspnetcore-spa` generator. This lets you choose your client-side framework, and generates a starting point that includes applicable features such as Webpack dev middleware, server-side prerendering, and efficient production builds. -See: [getting started with the `aspnetcore-spa` generator](http://blog.stevensanderson.com/2016/05/02/angular2-react-knockout-apps-on-aspnet-core/). It's much easier than configuring everything to work together manually! +```` +// install yeoman, the generator, and a short-term global webpack dependency +npm install -g yo generator-aspnetcore-spa webpack + +// go to a new directory and install your framework of choice! +cd some-empty-directory +yo aspnetcore-spa + +// Run it! +dotnet run +```` + +For more details see: [getting started with the `aspnetcore-spa` generator](http://blog.stevensanderson.com/2016/05/02/angular2-react-knockout-apps-on-aspnet-core/). It's much easier than configuring everything to work together manually! ## Adding to existing applications