EP 12.5 - Angular / Routing / Nested Routes

preview_player
Показать описание


We can nest routes, this means that for a given URL we can render a tree of components.

We do this by using multiple router-outlet directives and configuring child routes on our route configuration object.
Next up we will learn about protecting access to different routes via the use of Router Guards.
Рекомендации по теме
Комментарии
Автор

Your tutorials are the best reference for learning Angular. Thank you!

azeemsyed
Автор

@9:27 In angular versions newer (tested in v.8) than above, need to add pathMatch: 'full' to this line. {path: '', redirectTo: 'tracks', pathMatch: 'full'},

YaakovGoodman