Skip to content
Snippets Groups Projects
Verified Commit fc1f5b09 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Now use vuex-router-sync

parent bffde620
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,8 @@ ...@@ -28,7 +28,8 @@
"vue-upload-component": "^2.7.4", "vue-upload-component": "^2.7.4",
"vuedraggable": "^2.14.1", "vuedraggable": "^2.14.1",
"vuex": "^3.0.1", "vuex": "^3.0.1",
"vuex-persistedstate": "^2.4.2" "vuex-persistedstate": "^2.4.2",
"vuex-router-sync": "^5.0.0"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^6.7.2", "autoprefixer": "^6.7.2",
......
...@@ -12,6 +12,9 @@ import axios from 'axios' ...@@ -12,6 +12,9 @@ import axios from 'axios'
import VueLazyload from 'vue-lazyload' import VueLazyload from 'vue-lazyload'
import store from './store' import store from './store'
import config from './config' import config from './config'
import { sync } from 'vuex-router-sync'
sync(store, router)
window.$ = window.jQuery = require('jquery') window.$ = window.jQuery = require('jquery')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment