Now use vuex-router-sync

This commit is contained in:
Eliot Berriot 2018-02-15 22:31:14 +01:00
parent bffde620cd
commit fc1f5b09ce
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 5 additions and 1 deletions

View File

@ -28,7 +28,8 @@
"vue-upload-component": "^2.7.4",
"vuedraggable": "^2.14.1",
"vuex": "^3.0.1",
"vuex-persistedstate": "^2.4.2"
"vuex-persistedstate": "^2.4.2",
"vuex-router-sync": "^5.0.0"
},
"devDependencies": {
"autoprefixer": "^6.7.2",

View File

@ -12,6 +12,9 @@ import axios from 'axios'
import VueLazyload from 'vue-lazyload'
import store from './store'
import config from './config'
import { sync } from 'vuex-router-sync'
sync(store, router)
window.$ = window.jQuery = require('jquery')