Table of Contents
API Reference
$route
$route.fullPath
$route.hash
$route.matched
$route.name
$route.params
$route.path
$route.query
$route.redirectedFrom
<router-link>
<router-link> `active-class` prop
<router-link> `append` prop
<router-link> `aria-current-value` prop
<router-link> `event` prop
<router-link> `exact-active-class` prop
<router-link> `exact-path-active-class` prop
<router-link> `exact-path` prop
<router-link> `exact` prop
<router-link> `replace` prop
<router-link> `tag` prop
<router-link> `to` prop
<router-view>
<router-view> `name` prop
Component Injections
router.addRoute()
router.addRoute()
router.addRoutes()
router.afterEach()
router.app
router.back()
router.beforeEach()
router.beforeResolve()
router.currentRoute
router.forward()
router.getMatchedComponents()
router.getRoutes()
router.go()
router.mode
router.onError()
router.onReady()
router.push()
router.replace()
router.resolve()
router.START_LOCATION
RouterOptions.base
RouterOptions.fallback
RouterOptions.linkActiveClass
RouterOptions.linkExactActiveClass
RouterOptions.mode
RouterOptions.parseQuery / stringifyQuery
RouterOptions.routes
RouterOptions.scrollBehavior
v-slot
Basic Guides
Dynamic Route Matching
Getting Started
HTML5 History Mode
Installation
Named Routes
Named Views
Nested Routes
Passing Props to Route Components
Programmatic Navigation
Redirect and Alias
Other Guides
Data Fetching
Lazy Loading Routes
Navigation Failures
Navigation Guards
Route Meta Fields
Scroll Behavior
Transitions
中文
English
A
A
Serif
Sans
White
Sepia
Night
首页
API Docs
工具
首页
API Docs
工具
vue_router
/
3.5.1
/
guide
/
essentials
/
Files
File Name
dynamic-matching.html
history-mode.html
named-routes.html
named-views.html
navigation.html
nested-routes.html
passing-props.html
redirect-and-alias.html
Name
Vue Router
Version
3.5.1
4.0.12
Badge
Last Updated
2021-01-29T23:38:45Z