All right, now it's time to implement routing for our application! In the upcoming topics, we'll create the following routes for our application:
Route path
|
Description
|
/projects/:projectId |
This route will activate the project container component in the outlet of our root application component. This consists of the projects URL segment as well as the :projectId URL segment to specify the project ID. |
/projects/:projectId/tasks |
This route will activate the TaskListContainer component inside of our project component. While we're currently rendering the task list directly within the template of the project component, we will make use of an other router outlet instead. |
/projects/:projectId/comments |