O'Reilly logo

Mastering Angular Components by Gion Kunz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integrating the projects dashboard

We've created our initial projects dashboard components, and will now work on their integration into our application. We're going to need a new container component, which we'll also expose within the router configuration. We also need to update the navigation component of our application, in order to show a new navigation link to the dashboard view.

Let's start with our new container component and use the Angular CLI tool to create the stubs for it:

ng generate component --spec false -ve none -cd onpush container/projects-dashboard-container

Open up the generated component class, located in src/app/container/projects-dashboard-container/projects-dashboard-container.component.ts, and replace its content with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required