docs(router): add missing backticks (#2366)
This commit is contained in:
parent
5bd269484a
commit
c6cf4dc310
|
@ -1365,13 +1365,13 @@ a#child-routing-component
|
||||||
They *extend* the path of the parent route.
|
They *extend* the path of the parent route.
|
||||||
With each step down the route tree, we add a slash followed by the route path (unless the route path is _empty_).
|
With each step down the route tree, we add a slash followed by the route path (unless the route path is _empty_).
|
||||||
|
|
||||||
For example, the parent path to the `CrisisCenterComponent` is `/crisis-center
|
For example, the parent path to the `CrisisCenterComponent` is `/crisis-center`
|
||||||
The router appends these child paths to the parent path to the `CrisisCenterComponent` (`/crisis-center).
|
The router appends these child paths to the parent path to the `CrisisCenterComponent` (`/crisis-center`).
|
||||||
|
|
||||||
* to navigate to the `CrisisCenterHomeComponent, the full URL is `/crisis-center` (/crisis-center` + `''` + `''`).
|
* to navigate to the `CrisisCenterHomeComponent`, the full URL is `/crisis-center` (`/crisis-center` + `''` + `''`).
|
||||||
|
|
||||||
* to navigate to the `CrisisDetailComponent` for a crisis with `id=2`, the full URL is
|
* to navigate to the `CrisisDetailComponent` for a crisis with `id=2`, the full URL is
|
||||||
`/crisis-center/2` (/crisis-center` + `''` + `'/2'`).
|
`/crisis-center/2` (`/crisis-center` + `''` + `'/2'`).
|
||||||
|
|
||||||
The absolute URL for the latter example, including the origin, is
|
The absolute URL for the latter example, including the origin, is
|
||||||
code-example.
|
code-example.
|
||||||
|
|
Loading…
Reference in New Issue