Table of Contents
API Reference
$route
<router-link>
<router-view>
active-class
addRoute
addRoute
afterEach
alias
aliasOf
API Reference
aria-current-value
back
beforeEach
beforeEnter
beforeEnter
beforeResolve
children
children
Component Enabled Options
Component Injected Properties
Component Injections
components
currentRoute
custom
exact-active-class
Example: Applying Active Class to Outer Element
Examples
Examples
forward
from
fullPath
getRoutes
go
hash
hasRoute
history
Introduction
isReady
linkActiveClass
linkExactActiveClass
matched
Members
meta
meta
meta
name
name
name
name
onBeforeRouteLeave
onBeforeRouteUpdate
onError
options
Parameters
Parameters
Parameters
Parameters
params
parseQuery
path
path
path
props
props
push
query
redirect
redirect
redirectedFrom
removeRoute
replace
replace
resolve
Returns
route
routes
scrollBehavior
stringifyQuery
to
to
type
useLink
useRoute
useRouter
Basic Guides
Different History modes
Dynamic Route Matching with Params
Getting Started
Installation
Migrating from Vue 2
Named Routes
Named Views
Nested Routes
Passing Props to Route Components
Programmatic Navigation
Redirect and Alias
Routes' Matching Syntax
Other Guides
Data Fetching
Dynamic Routing
Extending RouterLink
Lazy Loading Routes
Navigation Guards
Route Meta Fields
Scroll Behavior
Transitions
Vue Router and the Composition API
Waiting for the result of a Navigation
中文
English
A
A
Serif
Sans
White
Sepia
Night
首页
API Docs
工具
首页
API Docs
工具
vue_router
/
4.0.12
/
guide
/
advanced
/
Files
File Name
composition-api.html
data-fetching.html
dynamic-routing.html
extending-router-link.html
lazy-loading.html
meta.html
navigation-failures.html
navigation-guards.html
scroll-behavior.html
transitions.html
Name
Vue Router
Version
3.5.1
4.0.12
Badge
Last Updated
2021-10-22T19:41:58Z