Creating new application

Create new project

From command line/terminal on all platforms: dotnet new react.

Note: when creating new project from the command line, ensure that you are _in _target folder already. This step will not create a new folder for you nor will it ask you a name for your project.

From Visual Studio 2017:

  • New project > .NET Core > ASP.NET Core Web Application
    • Ensure that target platform is ASP.NET Core 2.0
    • Select React

Building

After cloning the repository from here https://github.com/pkovacevic/kulendayz-react-workshop ensure that the folder wwwroot/distis deleted.

  • dotnet restore
  • npm install
  • dotnet run

results matching ""

    No results matching ""