Angular 2 nice to know

ng new myProject --style=scss //create a new project (u need to have 'npm install -g @angular/cli' for the command to work)

ng generate component myComponent //create a new component inside the project

ng generate service myService //create a new service

Remember anything with the .spec after we don’t edit.

Leave a Reply

Your email address will not be published. Required fields are marked *