docs: add link to component-less routes description. (#40741)
Currently it's not clear what a component-less route is. Add a link to make it clear PR Close #40741
This commit is contained in:
parent
bbf61fc2be
commit
7a8821c9aa
|
@ -371,7 +371,7 @@ The following route guards are available in Angular:
|
|||
* [`Resolve`](api/router/Resolve)
|
||||
* [`CanLoad`](api/router/CanLoad)
|
||||
|
||||
To use route guards, consider using component-less routes as this facilitates guarding child routes.
|
||||
To use route guards, consider using [component-less routes](api/router/Route#componentless-routes) as this facilitates guarding child routes.
|
||||
|
||||
Create a service for your guard:
|
||||
|
||||
|
|
Loading…
Reference in New Issue