diff --git a/client/app.js b/client/app.js index edb36000..fe6edf32 100644 --- a/client/app.js +++ b/client/app.js @@ -19,6 +19,7 @@ import Hammer from 'hammerjs' import moment from 'moment' import VueMoment from 'vue-moment' import VueTour from 'vue-tour' +import VueTreeNavigation from 'vue-tree-navigation' import store from './store' // ==================================== @@ -100,6 +101,7 @@ Vue.use(VeeValidate, { events: '' }) Vue.use(Vuetify) Vue.use(VueMoment, { moment }) Vue.use(VueTour) +Vue.use(VueTreeNavigation) Vue.prototype.Velocity = Velocity @@ -136,7 +138,7 @@ let bootstrap = () => { const i18n = localization.init() window.WIKI = new Vue({ - el: '#app', + el: '#root', components: {}, mixins: [helpers], provide: apolloProvider.provide(), diff --git a/client/components/admin.vue b/client/components/admin.vue index d8ccea6d..ff4f5ddf 100644 --- a/client/components/admin.vue +++ b/client/components/admin.vue @@ -80,12 +80,7 @@ diff --git a/client/components/admin/admin-theme.vue b/client/components/admin/admin-theme.vue index d25cf630..b36da7fe 100644 --- a/client/components/admin/admin-theme.vue +++ b/client/components/admin/admin-theme.vue @@ -108,7 +108,7 @@ export default { } }, computed: { - darkMode: sync('admin/theme@dark') + darkMode: sync('site/dark') }, mounted() { this.darkModeInitial = this.darkMode diff --git a/client/components/common/nav-footer.vue b/client/components/common/nav-footer.vue index d266aa5f..6ff7bd14 100644 --- a/client/components/common/nav-footer.vue +++ b/client/components/common/nav-footer.vue @@ -1,5 +1,5 @@