vuejs/vuex-router-sync
Effortlessly keep vue-router and vuex store in sync. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3830
- days_rel: n/a
- days_push: 1698
- n_releases_24m: 0
Adoption not part of the score
2489 stars · 118 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small Vue.js library that synchronizes vue-router's current route state into the Vuex store as a read-only module. It lets components access route path, params, and query directly from store state.
Use cases
- access current route inside vuex store getters
- make route state available to vuex actions
- keep vue-router and vuex in sync
- use route params in store state
- time-travel debug routing state with vuex devtools
When to choose
- you use Vue 2 with both Vuex and vue-router and want route state in the store
- you need route data in Vuex getters or actions
- you want routing state captured in devtools time-travel
When to avoid
- you use Vue 3 with Pinia instead of Vuex
- your app doesn't use Vuex
- you only need route access in components, where $route already suffices
Facets
library · maturity maintenance
state-management routing middleware frontend web-development developer-tools browser vue vuex vue-router state-sync vue2 javascript nodejs
2 sources
- readme: https://github.com/vuejs/vuex-router-sync · fetched 2026-08-28 · 1b4f7351be7d
- registry_npm: https://registry.npmjs.org/vuex-router-sync · fetched 2026-08-29 · 6e0a9f2c488d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vuejs/vuex-router-sync | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="vuejs/vuex-router-sync")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem