diff options
author | René Gieling <github@dartcafe.de> | 2022-04-04 10:07:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 10:07:10 +0300 |
commit | c64eddc2b82c0a859be0b964bef368b33f0ade76 (patch) | |
tree | c6d1fa25d00589ec6fe161c3916cc55b1850b8bb /src | |
parent | 2e6a253bb4ecee0c3672e1d590c79fd4493d4e51 (diff) | |
parent | 5cdcb7f060a33b9cc56021137b06bc66b731bdb7 (diff) |
Merge pull request #2355 from nextcloud/dev/fix-router
fix router-sync
Diffstat (limited to 'src')
-rw-r--r-- | src/js/main.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/js/main.js b/src/js/main.js index cb6ca7a4..e5597de6 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -23,6 +23,7 @@ import Vue from 'vue' import App from './App' +import { sync } from 'vuex-router-sync' import store from './store' import router from './router' import ClickOutside from 'v-click-outside' @@ -39,6 +40,8 @@ __webpack_nonce__ = btoa(getRequestToken()) /* eslint-disable-next-line camelcase, no-undef */ __webpack_public_path__ = generateFilePath('polls', '', 'js/') +sync(store, router) + Vue.config.debug = process.env.NODE_ENV !== 'production' Vue.config.devTools = process.env.NODE_ENV !== 'production' |