How to do it...

Let's look at the following steps to create an Angular project:

  1. To install Angular-CLI, simply run the following command:
npm install -g @angular/cli
  1. This may take several minutes to install Angular-CLI locally and make it ready and available to use in your project. Wait until the command prompt is ready, before proceeding to generate a new Angular project using Angular-CLI.
  1. To create a new Angular application, simply type ng new, followed by the name of your new application--in this case, I am using my-angular-project:
ng new my-angular-project
  1. This will create a new project folder called my-angular-project and preinstall everything that we need to run our new Angular application locally.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.82.163