Router<TRoutes> 
type Router<TRoutes>: Plugin & object;Type declaration 
back() 
back: () => void;Navigates to the previous entry in the browser's history stack.
find 
find: RouterFind<TRoutes>;Finds a route object based on the provided lookup parameters.
forward() 
forward: () => void;Navigates to the next entry in the browser's history stack.
go() 
go: (delta: number) => void;Moves the current history entry to a specific point in the history stack.
initialized 
initialized: Promise<void>;A promise that resolves when the router is fully initialized.
onAfterRouteEnter 
onAfterRouteEnter: AddAfterRouteHook;Registers a hook to be called after a route is entered. AddAfterRouteHook
onAfterRouteLeave 
onAfterRouteLeave: AddAfterRouteHook;Registers a hook to be called after a route is left. AddAfterRouteHook
onAfterRouteUpdate 
onAfterRouteUpdate: AddAfterRouteHook;Registers a hook to be called after a route is updated. AddAfterRouteHook
onBeforeRouteEnter 
onBeforeRouteEnter: AddBeforeRouteHook;Registers a hook to be called before a route is entered. AddBeforeRouteHook
onBeforeRouteLeave 
onBeforeRouteLeave: AddBeforeRouteHook;Registers a hook to be called before a route is left. AddBeforeRouteHook
onBeforeRouteUpdate 
onBeforeRouteUpdate: AddBeforeRouteHook;Registers a hook to be called before a route is updated. AddBeforeRouteHook
push 
push: RouterPush;Navigates to a specified path or route object in the history stack, adding a new entry. RouterPush
refresh() 
refresh: () => void;Forces the router to re-evaluate the current route.
reject 
reject: RouterReject;Handles route rejection based on a specified rejection type.
replace 
replace: RouterReplace;Replaces the current entry in the history stack with a new one. RouterReplace
resolve 
resolve: RouterResolve;Resolves a URL to a route object. RouterResolve
route 
route: Route;Manages the current route state. Route
Type parameters 
| Type parameter | 
|---|
TRoutes extends Routes |