vue-router / MatcherLocation
MatcherLocation
Normalized/resolved Route location that returned by the matcher.
Properties
matched
ts
matched: RouteRecordNormalized[];
Array of RouteRecord containing components as they were passed when adding records. It can also contain redirect records. This can't be used directly
meta
ts
meta: RouteMeta;
Merged meta
properties from all the matched route records.
name
ts
name:
| null
| RouteRecordNameGeneric;
Name of the matched record
params
ts
params: RouteParamsGeneric;
Object of decoded params extracted from the path
.
path
ts
path: string;
Percentage encoded pathname section of the URL.