OptionalforceTriggers the navigation even if the location is the same as the current one.
Note this will also add a new entry to the history unless replace: true
is passed.
The whole location including the search and hash. This string is
percentage encoded.
Hash of the current location. If present, starts with a #.
Array of RouteRecord containing components as they were passed when adding records. It can also contain redirect records. This can't be used directly. This property is non-enumerable.
Merged meta properties from all the matched route records.
Name of the matched record
Object of decoded params extracted from the path.
Percentage encoded pathname section of the URL.
Object representation of the search property of the current location.
Contains the location we were initially trying to access before ending up on the current location.
OptionalreplaceReplace the entry in the history instead of pushing a new entry
OptionalstateState to save using the History API. This cannot contain any reactive values and some primitives like Symbols are forbidden. More info at https://developer.mozilla.org/en-US/docs/Web/API/History/state
Generic version of RouteLocation. It is used when no RouteMap is provided.