The Angular CLI is a command-line interface tool that you use to initialize, develop, scaffold, and maintain Angular applications directly from a command shell.

Before Start developing using Angular Framework you have to know all the flowing commands :

To create new Angular project :

ng new my-first-project

To run create project :

cd my-first-project
ng serve

To generate a module :

ng generate module stock

To generate a component :

ng generate component stockList

To generate a service :

ng generate service stock

To generate a pipe :

ng generate pipe date

To build you application :

ng build

For more details

Laisser un commentaire