I\'m attempting to start an .NET Core 2/Angular 6 SPA. I created an Angular 5 Application using "dotnet new angular" then proceeded to upgrade using this guide fro
I was trying to get a GitHub project working from scratch. These are the things I did to do that:
dotnet new angular -o "C:\Users\me\OneDrive\Documents\Visual Studio 2017\Projects\myproject\myproject-dev\myproject-client-app" --forcenpm install -g @angular/clinpm build fixnpm run ngnpm startng start --extract-css (I didn't actually need to enter this last command, since npm start initiated this command for my project, but might not always be the case...)
In 'Startup.cs' file, replace
spa.UseAngularCliServer(..)
with
spa.UseProxyToSpaDevelopmentServer("http://localhost:4200");
Then F5 to start the ASP .NET Core project as we normally do to start debugging the application.
After all of that, the project should run.