Skip to content
Перевод синхронизирован с документацией от , хэш коммита 0d8d997.

API Documentation / MatcherLocation

Interface: MatcherLocation

Normalized/resolved Route location that returned by the matcher.

Properties

matched

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

meta: RouteMeta

Merged meta properties from all the matched route records.


name

name: null | RouteRecordNameGeneric

Name of the matched record


params

params: RouteParamsGeneric

Object of decoded params extracted from the path.


path

path: string

Percentage encoded pathname section of the URL.

Released under the MIT License.

Build faster with AI
New Masterclass to help you leverage AI in your Vue workflow.
Get Early Access