GitShow/vuejs/vuex-router-sync
vuejs

vuex-router-sync

Effortlessly keep vue-router and vuex store in sync.

by vuejs
vuevue-routervuex
Star on GitHubForknpm

JavaScript

2.5k stars118 forks18 contributorsQuiet · 4y agoSince 2016v5.0.0MIT

Meet the team

See all 18 on GitHub →
yyx990803
yyx99080347 contributions
kiaking
kiaking16 contributions
pixelgrid
pixelgrid1 contribution
blake-newman
blake-newman1 contribution
snaptopixel
snaptopixel1 contribution
cgarnier
cgarnier1 contribution
JounQin
JounQin1 contribution
predhme
predhme1 contribution

Languages

View on GitHub →
JavaScript57.4%
TypeScript42.6%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
37
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 3 in progress · Last activity 4y ago
See all on GitHub →
Unkrass
Warning: [vuex] state field "route" was overridden by a module with the same name at "route"OpenIssue

I use the following packages: "vue-router": "^4.0.0-0", "vuex": "^4.0.0-0", "vuex-persistedstate": "^4.0.0-beta.3", "vuex-router-sync": "^6.0.0-rc.1" When I reload a page - and I believe it only happens when the state i persisted - I get the warning message [vuex] state field "route" was overridden by a module with the same name at "route" In my opinion this shouldn't be happening, because I didn't define any modules in my store. changing the module name to e.g. "RouteModule" as written in the docs throws the same warning, except then with "RouteModule" instead of "route". Is there a way to fix this?

Unkrass · 4y ago
WilliamFalci
6.0.0-rc.1 package.json has a valid "main" entryOpenIssue

Error: Package.json Node Version**: v14.16.1

WilliamFalci · 4y ago
alexpts
Added option `isWatchState`OpenPR

Added option for optional watch of vuex

alexpts · 4y ago

Recent fixes

View closed PRs →
cjpearson
fix: clone route outside of mutationMergedPR

This change moves to call to outside of the mutation and passes the already-cloned route as the payload. It fixes some console errors that might occur when the vue-devtools extension tries to clone the mutation payload. In my case there were errors when it attempted to clone components within the array of the route.

cjpearson · 1y ago
mtdst
Cannot read property 'name' of undefinedClosedIssue

+ vue-router@3.0.6 + vuex-router-sync@5.0.0

mtdst · 4y ago
naviisml
Unable to install with vue-router@^4.0.12ClosedIssue

As the title describes, I'm unable to install vuex-router-sync with vue-router@^4.0.12. I can provider the full logs, but it seems unnecessary as the it is fairly straight forward.

naviisml · 4y ago
Structured data for AI agents

Repository: vuejs/vuex-router-sync. Description: Effortlessly keep vue-router and vuex store in sync. Stars: 2489, Forks: 118. Primary language: JavaScript. Languages: JavaScript (57.4%), TypeScript (42.6%). License: MIT. Topics: vue, vue-router, vuex. Latest release: v5.0.0 (8y ago). Open PRs: 3, open issues: 8. Last activity: 4y ago. Community health: 37%. Top contributors: yyx990803, kiaking, pixelgrid, blake-newman, snaptopixel, cgarnier, JounQin, predhme, NeverBehave, ryutamaki and others.

·@ofershap

Replace github.com with gitshow.dev