ng

ng

TLDR

Create a new Angular application inside a directory

>_ ng new [project_name]
copy

Add a new component to one's application

>_ ng generate component [component_name]
copy

Add a new class to one's application

>_ ng generate class [class_name]
copy

Add a new directive to one's application

>_ ng generate directive [directive_name]
copy

Run the application with the following command in its root directory

>_ ng serve
copy

Build the application

>_ ng build
copy

Run unit tests

>_ ng test
copy

Check the version of your current Angular installation

>_ ng version
copy

Copied to clipboard
free 100$ digital ocean credit