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
- Host: GitHub
- URL: https://github.com/l-chris/vuex-router-history
- Owner: L-Chris
- License: mit
- Created: 2018-10-21T13:19:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-25T10:15:21.000Z (over 6 years ago)
- Last Synced: 2025-02-18T10:50:55.809Z (3 months ago)
- Topics: history-management, vue-router, vuex-plugin
- Language: JavaScript
- Size: 27.3 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```