Course lesson
Create a New Task Page with Angular CLI ng generate
We need to add a new tasks page so we'll add a button on the home page and link to this new page with routerLink.
- Duration
- 1 min
- Access
- Included
- Transcript
- Retained from source evidence
We need to add a new tasks page so we'll add a button on the home page and link to this new page with routerLink.
Then we'll use the Angular CLI to create a new page with ng generate. Finally we'll add the page route to our routing.module.