RouterLink
RouterLink component renders anchor tag (<a>) for routing both within the SPA and to external locations.
Props
| Parameter | Type |
|---|---|
| to | Url | (resolve: RouterResolve) => Url |
| query | Record<string, string> | undefined |
| replace | boolean | undefined |
Slots
Default
| Scope Property | Type |
|---|---|
| resolved | string |
| match | boolean |
| exactMatch | boolean |
| isExternal | boolean |
Notes
RouterLink applies class names for styling
router-link--match-> route is current route or ancestor of current routerouter-link--exact-match-> route is current route