April 2018
Intermediate
110 pages
2h 12m
English
In this section, we will use ng generate to create the PostsComponent and ProfileComponent inside the PostsModule, add routes to both components, and add dummy data that we can use to build our presentational components.
We will be using the ng generate command to create our PostsComponent. This is the component that will eventually list an overview for all our posts.
The application route to this component will be /posts:
ng g c posts/containers/posts

Read now
Unlock full access