September 2017
Intermediate to advanced
450 pages
11h 24m
English
Let's follow the steps below to create a new button component in our Angular application using Angular-CLI generate:
ng g component my-button
installing componentcreate src/app/my-button/my-button.component.csscreate src/app/my-button/my-button.component.htmlcreate src/app/my-button/my-button.component.spec.tscreate src/app/my-button/my-button.component.tsupdate src/app/app.module.ts
Read now
Unlock full access