vuex-router-sync icon indicating copy to clipboard operation
vuex-router-sync copied to clipboard

Effortlessly keep vue-router and vuex store in sync.

Results 12 vuex-router-sync issues
Sort by recently updated
recently updated
newest added

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...

**Error**: ``` internal/modules/cjs/loader.js:311 throw err; ^ Error: Cannot find module '/home/b2beuroingro12/Documenti/euroingro-frontend/node_modules/vuex-router-sync/dist/vuex-router-sync.js'. Please verify that the package.json has a valid "main" entry at tryPackage (internal/modules/cjs/loader.js:303:19) at Function.Module._findPath (internal/modules/cjs/loader.js:516:18) at Function.Module._resolveFilename (internal/modules/cjs/loader.js:867:27)...

Added option `isWatchState` for optional watch of vuex

Third argument in router hook may has Error for rollback transition. If transition is not success, that router state not changed (revert). Add prevent commit to vuex store for this...

Hi, Thank you very much for this package. According to `vue-router`'s documentation (https://router.vuejs.org/api/#route-object-properties), route objects contain `matched` and (in some cases) `redirectedFrom` properties. These are missing from `vuex-router-sync`'s state. For...

This change moves to call to `cloneRoute` 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...

need repro

Currently, if I set a getter for the route name and then use that getter in a computed value in a component, it will be updated whenever the route changes...

enhancement

Should add `"sideEffects": false` in `package.json`. Sometimes, `sync` will not be used(eg: `process.env.VUE_SSR` is `false`), it is better for tree-shaking.

enhancement

Can we consider adding some vuex actions for the following methods: * Push * Replace * Go Right now, it's a little awkward in that we can access the state...

feature request