💥 Angular Router Child Routes - How To Setup a Master Detail Route - What Are Componentless Routes?

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

In this tutorial, we are going to setup child routes in the Angular Router. Most of all we are going to learn the most important concept about child routes: only one can be active at a given time.

We are going to learn that the top level routing configuration behaves like if those where child routes of an implicit root route. We are going to setup multiple child routes, and we are going to learn what are componentless routes.

Also, we are going to learn a best practice on routing configuration: how to split the routing configuration into multiples files and how to include it in the main file using the spread operator.

Follow us:

Рекомендации по теме
Комментарии
Автор

Nice concept.
But right now I'm stuck with a scenario where I am dealing with lazy loading component...and I want to load as you describe. So, how can I deal with children routes with load children.
Please let me know.

abhinashguptaa
Автор

the face at the bottom really distractive

nnietit