In my previous post I showed how to install jQuery into an Angular 8 project.
This article is related to Angular too and describes how to create Angular 8 project in Visual Studio 2019.
Create new project
Start the Visual Studio 2019 and create new project. From the project templates select the ASP.NET Core with Angular.
In the next step, set the project name and the location:
On the next screen uncheck the Configure for HTTPS option. For this example we don’t need it.
After that the new project will be created and you will see the project structure in the Solution Explorer.
If you don’t have Node.js installed on your PC, you will get the following error during rebuilding the project.
Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE.
What is Node.js?
If you want to know more info about what Node.js is, please visit WikiPedia.
Please go to the https://nodejs.org and download the Node.js.
Close the Visual Studio before you start the installation.
Install Node.js like in the following pictures:
After installation please restart your PC.
Run the Angular 8 project in the browser
After restart you can rebuild the project and you can run it in the browser.