February 2019
Beginner
694 pages
18h 4m
English
Similar to Aurelia's command-line development environment setup, Angular also has a command-line project setup tool, named the Angular-CLI. This can be installed using npm as follows:
npm install -g @angular/cli
Once the command-line interface has been installed globally, we can set up an Angular development environment by using the Angular-CLI as follows:
ng new my-app
The Angular-CLI is named ng, and here we have specified that it should create a new project in a new directory named my-app. Within this new directory, the Angular-CLI will download and install all necessary components of an Angular application. It will also create a minimal sample project in the src/app directory as a head start. To start a development web server, ...
Read now
Unlock full access