Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Commit

Permalink
Rephrased docs to clarify which are the parts you type into the comma…
Browse files Browse the repository at this point in the history
…nd line
  • Loading branch information
SteveSandersonMS committed Aug 4, 2016
1 parent 4665d1f commit 7052fa0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ Everything here is cross-platform, and works with .NET Core 1.0 RC2 or later on

## Creating new applications

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.
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. 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
To do this, first install Yeoman and these generator templates:

// go to a new directory and install your framework of choice!
cd some-empty-directory
yo aspnetcore-spa
npm install -g yo generator-aspnetcore-spa

// Run it!
dotnet run
````
Then you can generate your new application starting point:

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!
cd some-empty-directory
yo aspnetcore-spa

Finally, once the generator has run and restored all the dependencies, you can start up your new ASP.NET Core Single Page Application:

dotnet run

For a more detailed walkthrough, see [getting started with the `aspnetcore-spa` generator](http://blog.stevensanderson.com/2016/05/02/angular2-react-knockout-apps-on-aspnet-core/).

## Adding to existing applications

Expand Down

0 comments on commit 7052fa0

Please sign in to comment.