# @vueuse/router

> Utilities for vue-router

Latest version **14.4.0** (published 2026-07-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @vueuse/router
pnpm add @vueuse/router
yarn add @vueuse/router
bun add @vueuse/router
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 14.4.0 |
| Published | 2026-07-29 |
| First published | 2020-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22357 |
| Author | Anthony Fu <https://github.com/antfu> |
| Maintainers | vueuse-bot |
| Keywords | vue, vue-use, vue-router, utils |

## Links

- npm: https://www.npmjs.com/package/@vueuse/router
- Repository: https://github.com/vueuse/vueuse
- Homepage: https://github.com/vueuse/vueuse/tree/main/packages/router#readme
- Issues: https://github.com/vueuse/vueuse/issues
- Funding: https://github.com/sponsors/antfu
- npm.io page: https://npm.io/package/@vueuse/router

## Alternatives

- [express-promise-router](https://npm.io/package/express-promise-router.md) — 736.1K weekly downloads
- [next-usequerystate](https://npm.io/package/next-usequerystate.md) — 29.8K weekly downloads
- [@bitkyc08/opencodex](https://npm.io/package/@bitkyc08/opencodex.md) — 4.6K weekly downloads
- [lynkr](https://npm.io/package/lynkr.md) — 575 weekly downloads
- [baremetal.js](https://npm.io/package/baremetal.js.md) — 42 weekly downloads

## Recent versions

- 14.4.0 (latest) — 2026-07-29
- 14.0.0-beta.1 (beta) — 2025-09-19
- 14.0.0-alpha.3 (alpha) — 2025-09-16
- 5.0.0 (next) — 2021-06-06
- 14.3.0 — 2026-05-01
- 14.2.1 — 2026-02-10
- 14.2.0 — 2026-01-31
- 14.1.0 — 2025-11-27
- 14.0.0 — 2025-10-22
- 14.0.0-alpha.2 — 2025-09-12
- 14.0.0-alpha.1 — 2025-09-01
- 14.0.0-alpha.0 — 2025-09-01
- 13.9.0 — 2025-09-01
- 13.8.0 — 2025-08-27
- 13.7.0 — 2025-08-18
- … 245 more at https://npm.io/package/@vueuse/router/versions

## README

# @vueuse/router

[![NPM version](https://img.shields.io/npm/v/@vueuse/router?color=a1b858)](https://www.npmjs.com/package/@vueuse/router)

> This is an add-on of [VueUse](https://github.com/vueuse/vueuse), providing utilities for vue-router.

## Install

```bash
npm i @vueuse/router vue-router@5
```

## Functions

<!--GENERATED LIST, DO NOT MODIFY MANUALLY-->
<!--FUNCTIONS_LIST_STARTS-->

- [`useRouteHash`](https://vueuse.org/router/useRouteHash/) — shorthand for a reactive `route.hash`
- [`useRouteParams`](https://vueuse.org/router/useRouteParams/) — shorthand for a reactive `route.params`
- [`useRouteQuery`](https://vueuse.org/router/useRouteQuery/) — shorthand for a reactive `route.query`

<!--FUNCTIONS_LIST_ENDS-->

## License

[MIT License](https://github.com/vueuse/vueuse/blob/master/LICENSE) © 2019-PRESENT [Anthony Fu](https://github.com/antfu)

---
_Source: https://npm.io/package/@vueuse/router · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
