literate-couscous

View the Project on GitHub posva/literate-couscous

Home > vue-router > Router

Router interface

Signature:

export interface Router 

Properties

Property Type Description
currentRoute Ref<RouteLocationNormalizedLoaded>  
history RouterHistory  

Methods

Method Description
addRoute(parentName, route)  
addRoute(route)  
afterEach(guard)  
beforeEach(guard)  
createHref(to)  
getRoutes()  
install(app)  
isReady()  
onError(handler)  
push(to)  
removeRoute(name)  
replace(to)  
resolve(to)