vue-router@5.0.5

> - This is the repository for Vue Router 4 (for Vue 3) > - For Vue Router 3 (for Vue 2) see [vuejs/vue-router](https://github.com/vuejs/vue-router). > To see what versions are currently supported, please refer to the [Security Policy](./packages/router

MIT 2026-04-22
安装 (5.0.5)
npm install vue-router@5.0.5
yarn add vue-router@5.0.5
pnpm add vue-router@5.0.5
bun add vue-router@5.0.5
dependencies (17)
包名版本要求
@babel/generator ^7.28.6
@vue-macros/common ^3.1.1
@vue/devtools-api ^8.0.6
ast-walker-scope ^0.8.3
chokidar ^5.0.0
json5 ^2.2.3
local-pkg ^1.1.2
magic-string ^0.30.21
mlly ^1.8.0
muggle-string ^0.4.1
pathe ^2.0.3
picomatch ^4.0.3
scule ^1.3.0
tinyglobby ^0.2.15
unplugin ^3.0.0
unplugin-utils ^0.3.1
yaml ^2.8.2
devDependencies (36)
包名版本要求
@babel/types ^7.29.0
@pinia/colada ^0.21.2
@playwright/test ^1.58.1
@rollup/plugin-commonjs ^28.0.9
@rollup/plugin-node-resolve ^16.0.3
@rollup/plugin-replace ^6.0.3
@rollup/plugin-terser ^0.4.4
@standard-schema/spec ^1.1.0
@types/babel__generator ^7.27.0
@types/nightwatch ^2.3.32
@types/picomatch ^4.0.2
@typescript/native-preview 7.0.0-dev.20260106.1
@vitejs/plugin-vue ^6.0.4
@vue/compiler-sfc 3.6.0-beta.2
@vue/language-core ^3.2.1
@vue/server-renderer 3.6.0-beta.2
@vue/test-utils ^2.4.6
browserstack-local ^1.5.8
chromedriver ^144.0.1
connect-history-api-fallback ^2.0.0
dotenv ^17.2.3
faked-promise ^2.2.2
geckodriver ^6.1.0
happy-dom ^20.5.0
nightwatch ^3.15.0
nightwatch-helpers ^1.2.0
pinia ^3.0.4
rimraf ^6.1.2
rollup ^4.57.1
rollup-plugin-typescript2 ^0.36.0
tsdown ^0.20.1
tsup ^8.5.1
valibot ^1.3.1
vite ^7.3.0
vue 3.6.0-beta.2
zod ^4.3.6
peerDependencies (4)
包名版本要求
@pinia/colada >=0.21.2
@vue/compiler-sfc ^3.5.17
pinia ^3.0.4
vue ^3.5.0
版本列表
5.1.0 2026-05-28
5.0.7 2026-05-13
5.0.6 2026-04-22
5.0.5 2026-04-22
5.0.4 2026-03-19
5.0.3 2026-02-19
5.0.2 2026-02-02
5.0.1 2026-01-30
5.0.0-beta.2 2026-01-26
5.0.0-beta.1 2026-01-22
5.0.0-beta.0 2026-01-19
5.0.0 2026-01-29
4.6.4 2025-12-11
4.6.3 2025-10-16
4.6.2 2025-10-15
4.6.1 2025-10-15
4.6.0 2025-10-14
4.5.1 2025-04-25
4.5.0 2024-11-25
4.4.5 2024-09-13
4.4.4 2024-09-10
4.4.3 2024-08-06
4.4.2 2024-08-01
4.4.1 2024-07-31
4.4.0-alpha.3 2024-06-19
4.4.0-alpha.2 2024-06-12
4.4.0-alpha.1 2024-06-12
4.4.0-alpha.0 2024-06-11
4.4.0 2024-06-21
4.3.3 2024-06-10
4.3.2 2024-04-18
4.3.1 2024-04-17
4.3.0-alpha.1 2024-01-18
4.3.0-alpha.0 2024-01-18
4.3.0 2024-02-21
4.2.5 2023-09-22
4.2.4 2023-07-06
4.2.3 2023-07-05
4.2.2 2023-05-29
4.2.1 2023-05-18
4.2.0 2023-05-11
4.1.6 2022-10-24
4.1.5 2022-08-26
4.1.4 2022-08-22
4.1.3 2022-07-27
4.1.2 2022-07-11
4.1.1 2022-07-05
4.1.0-beta.2 2022-07-01
4.1.0-beta.1 2022-06-29
4.1.0-beta.0 2022-06-29
4.1.0 2022-07-04
4.1.0-c113369 2022-05-16
4.1.0-aabe509 2022-05-09
4.1.0-9e62c00 2022-06-10
4.1.0-730eb15 2022-06-14
4.1.0-51021cc 2022-06-15
4.1.0-4da5e55 2022-05-16
4.0.16 2022-06-09
4.0.15 2022-05-04
4.0.14 2022-03-10
4.0.13 2022-02-28
4.0.12 2021-10-14
4.0.11 2021-08-09
4.0.10 2021-06-21
4.0.9 2021-06-16
4.0.8 2021-05-13
4.0.7 2021-05-13
4.0.6 2021-04-06
4.0.5 2021-03-11
4.0.4 2021-02-19
4.0.3 2021-01-11
4.0.2 2020-12-27
4.0.1 2020-12-07
4.0.0-rc.6 2020-11-30
4.0.0-rc.5 2020-11-21
4.0.0-rc.4 2020-11-20
4.0.0-rc.3 2020-11-14
4.0.0-rc.2 2020-11-05
4.0.0-rc.1 2020-10-23
4.0.0-beta.13 2020-10-02
4.0.0-beta.12 2020-09-25
4.0.0-beta.11 2020-09-20
4.0.0-beta.10 2020-09-18
4.0.0-beta.9 2020-09-01
4.0.0-beta.8 2020-09-01
4.0.0-beta.7 2020-08-19
4.0.0-beta.6 2020-08-05
4.0.0-beta.5 2020-08-03
4.0.0-beta.4 2020-07-25
4.0.0-beta.3 2020-07-21
4.0.0-beta.2 2020-07-07
4.0.0-beta.1 2020-07-03
4.0.0-alpha.14 2020-07-01
4.0.0-alpha.13 2020-06-18
4.0.0-alpha.12 2020-05-19
4.0.0-alpha.11 2020-05-12
4.0.0-alpha.10 2020-05-05
4.0.0-alpha.9 2020-04-29
4.0.0-alpha.8 2020-04-29
4.0.0-alpha.7 2020-04-17
4.0.0-alpha.6 2020-04-17
4.0.0-alpha.5 2020-04-08
4.0.0-alpha.4 2020-03-28
4.0.0-alpha.3 2020-03-14
4.0.0-alpha.2 2020-03-14
4.0.0-alpha.1 2020-02-26
4.0.0-alpha.0 2020-02-21
4.0.0 2020-12-07
4.0.0-329e962 2021-10-19
3.6.5 2022-09-06
3.6.4 2022-08-25
3.6.3 2022-08-23
3.6.2 2022-08-23
3.6.1 2022-08-23
3.6.0 2022-08-22
3.5.4 2022-05-16
3.5.3 2021-10-26
3.5.2 2021-06-21
3.5.1 2021-01-26
3.5.0 2021-01-25
3.4.9 2020-11-05
3.4.8 2020-10-26
3.4.7 2020-10-16
3.4.6 2020-10-07
3.4.5 2020-09-26
3.4.4 2020-09-24
3.4.3 2020-08-11
3.4.2 2020-08-07
3.4.1 2020-08-06
3.4.0 2020-08-05
3.3.4 2020-06-13
3.3.3 2020-06-12
3.3.2 2020-05-29
3.3.1 2020-05-27
3.3.0 2020-05-27
3.2.0 2020-05-19
3.1.6 2020-02-26
3.1.5 2020-01-15
3.1.4 2020-01-14
3.1.3 2019-08-30
3.1.2 2019-08-08
3.1.1 2019-08-06
3.1.0 2019-08-06
3.0.7 2019-07-03
3.0.6 2019-04-17
3.0.5 2019-04-15
3.0.4 2019-04-12
3.0.3 2019-04-08
3.0.2 2018-11-23
3.0.1 2017-10-13
3.0.0 2017-10-11
2.8.1 2017-10-13
2.8.0 2017-10-11
2.7.0 2017-06-29
2.6.0 2017-06-17
2.5.3 2017-05-01
2.5.2 2017-04-25
2.5.1 2017-04-24
2.5.0 2017-04-24
2.4.0 2017-04-08
2.3.1 2017-03-29
2.3.0 2017-02-26
2.2.1 2017-02-14
2.2.0 2017-01-27
2.1.3 2017-01-19
2.1.2 2017-01-18
2.1.1 2016-12-01
2.1.0 2016-11-29
2.0.3 2016-11-18
2.0.2 2016-11-14
2.0.1 2016-10-13
2.0.0-rc.7 2016-09-29
2.0.0-rc.6 2016-09-28
2.0.0-rc.5 2016-09-13
2.0.0-rc.4 2016-08-29
2.0.0-rc.3 2016-08-11
2.0.0-rc.2 2016-08-05
2.0.0-rc.1 2016-08-04
2.0.0-beta.4 2016-07-29
2.0.0-beta.3 2016-07-28
2.0.0-beta.2 2016-07-27
2.0.0-beta.1 2016-07-26
2.0.0 2016-09-30
0.7.13 2016-04-07
0.7.12 2016-04-06
0.7.11 2016-02-12
0.7.10 2016-01-22
0.7.9 2016-01-18
0.7.8 2016-01-11
0.7.7 2015-11-23
0.7.6 2015-11-16
0.7.5 2015-10-26
0.7.4 2015-10-20
0.7.3 2015-10-19
0.7.2 2015-10-19
0.7.1 2015-10-13
0.7.0 2015-10-12
0.6.2 2015-10-01
0.6.1 2015-09-25
0.6.0 2015-09-09
0.5.2 2015-08-23
0.5.1 2015-08-18
0.5.0 2015-08-15
0.4.0 2015-08-13