Closed mauri870 closed 5 years ago
It`s a bad idea too use this modules together. Extension messaging protocol can pass only structures that can be easily converted with JSON.stringify
You object contains recursion( you cannot do anything with it
Hmmm, interesting. Do you you have a solution in mind? Maybe only save the route path instead of the whole object like vue-router-sync does :confused:
I spend a lot of time to find out solutions for other lib... No chance to pass complexive objects via messaging...
Yeah for sure U can store only router name in store, it should works.
In order to solve this issue I created this package: https://github.com/mauri870/vuex-router-sync-fullpath
Instead of saving the whole route object(including the to
and from
cyclic objects) it only saves the current fullPath.
When I tried to use this plugin along with vue-router-sync, the following error occur during route transitions: