diff options
author | Zero~Informatique | 2019-12-21 02:06:02 +0100 |
---|---|---|
committer | Zero~Informatique | 2019-12-21 02:06:02 +0100 |
commit | 62005141132da1e9761598fa3e4b35b4dab38a89 (patch) | |
tree | 3ff8b9f3acd07801075202f9eb2d2f2dfd328ff5 /viewer/src/main.ts | |
parent | bdce958eddc527912a57afa5b8151e1a90e38355 (diff) | |
download | ldgallery-62005141132da1e9761598fa3e4b35b4dab38a89.tar.gz |
Implemented VueX and a basic UIStore with the fullscreen mutation
Some renaming
Diffstat (limited to 'viewer/src/main.ts')
-rw-r--r-- | viewer/src/main.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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"; | |||
2 | import "@/assets/scss/global.scss"; | 2 | import "@/assets/scss/global.scss"; |
3 | import "@/plugins/fontawesome"; | 3 | import "@/plugins/fontawesome"; |
4 | import "@/plugins/buefy"; | 4 | import "@/plugins/buefy"; |
5 | import store from '@/plugins/vuex' | ||
5 | import i18n from "@/plugins/i18n"; | 6 | import i18n from "@/plugins/i18n"; |
6 | import router from "@/router"; | 7 | import router from "@/router"; |
7 | import LdGallery from "@/views/LdGallery.vue"; | 8 | import LdGallery from "@/views/LdGallery.vue"; |
@@ -11,5 +12,6 @@ Vue.config.productionTip = false; | |||
11 | new Vue({ | 12 | new Vue({ |
12 | router, | 13 | router, |
13 | i18n, | 14 | i18n, |
14 | render: h => h(LdGallery), | 15 | store, |
16 | render: h => h(LdGallery) | ||
15 | }).$mount("#ldgallery"); | 17 | }).$mount("#ldgallery"); |