From 62005141132da1e9761598fa3e4b35b4dab38a89 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Sat, 21 Dec 2019 02:06:02 +0100 Subject: Implemented VueX and a basic UIStore with the fullscreen mutation Some renaming --- viewer/src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'viewer/src/main.ts') diff --git a/viewer/src/main.ts b/viewer/src/main.ts index 352b565..3a3593c 100644 --- a/viewer/src/main.ts +++ b/viewer/src/main.ts @@ -2,6 +2,7 @@ import Vue from "vue"; import "@/assets/scss/global.scss"; import "@/plugins/fontawesome"; import "@/plugins/buefy"; +import store from '@/plugins/vuex' import i18n from "@/plugins/i18n"; import router from "@/router"; import LdGallery from "@/views/LdGallery.vue"; @@ -11,5 +12,6 @@ Vue.config.productionTip = false; new Vue({ router, i18n, - render: h => h(LdGallery), + store, + render: h => h(LdGallery) }).$mount("#ldgallery"); -- cgit v1.2.3