An open API service indexing awesome lists of open source software.

https://github.com/l-chris/vuex-router-history

vuex plugin: store vue-router history for better controlling
https://github.com/l-chris/vuex-router-history

history-management vue-router vuex-plugin

Last synced: 2 months ago
JSON representation

vuex plugin: store vue-router history for better controlling

Awesome Lists containing this project

README

        

# vuex-router-history
vuex plugin: store vue-router history for better controlling

## Useage
```javascript
import r from '@/router'
import store from '@/store'
import { sync } from 'vuex-router-history'

const router = sync(store, r, options)

new Vue({
el: '#app',
render: () =>
router,
store
})

this.$store.history.stack // history stack
this.$store.history.current // current route
```