Effortlessly keep vue-router and vuex store in sync.
router/ROUTE_CHANGED
mutation now sends the payload in the shape of { to, from }
instead of just the to
route. Although this is a breaking change, no actions are required unless you are explicitly listening to this mutation in a custom plugin.The route
state now exposes the meta
property of the current route (@scottbedard via #32)
The route
state now exposes the from
route (@predhme via #36)
You can now configure a custom route module name (@vinicius73 via #37):
sync(store, router, { moduleName: 'RouteModule' })