vue-router-redux0.3.3 • Public • Published
vue-router-redux(3) -- effortlessly keep vue-router and redux store in sync
$ npm install --save vue-router-redux
$ yarn add vue-router-redux
const router =
const store =
how does it work?
- it adds a
route module into the store, which contains the state representing the current route:
- when the router navigates to a new route, the store's state is updated.
npm i vue-router-redux