diff options
Diffstat (limited to 'viewer/src/main.ts')
-rw-r--r-- | viewer/src/main.ts | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/viewer/src/main.ts b/viewer/src/main.ts index 847048f..4d07835 100644 --- a/viewer/src/main.ts +++ b/viewer/src/main.ts | |||
@@ -19,7 +19,9 @@ | |||
19 | 19 | ||
20 | import Vue from "vue"; | 20 | import Vue from "vue"; |
21 | import "@/assets/scss/global.scss"; | 21 | import "@/assets/scss/global.scss"; |
22 | import store from "@/store" | 22 | import "@/assets/scss/scrollbar.scss"; |
23 | import "@/assets/scss/transition.scss"; | ||
24 | import store from "@/store"; | ||
23 | import i18n from "@/plugins/i18n"; | 25 | import i18n from "@/plugins/i18n"; |
24 | import router from "@/plugins/router"; | 26 | import router from "@/plugins/router"; |
25 | Vue.config.productionTip = false; | 27 | Vue.config.productionTip = false; |
@@ -31,9 +33,15 @@ import(/* webpackChunkName: "ui" */ "@/plugins/dragscroll"); | |||
31 | import(/* webpackChunkName: "ui" */ "@/plugins/fontawesome"); | 33 | import(/* webpackChunkName: "ui" */ "@/plugins/fontawesome"); |
32 | const MainLayout = () => import(/* webpackChunkName: "ui" */ "@/views/MainLayout.vue"); | 34 | const MainLayout = () => import(/* webpackChunkName: "ui" */ "@/views/MainLayout.vue"); |
33 | 35 | ||
36 | declare module "vue/types/vue" { | ||
37 | interface Vue { | ||
38 | $style: any; // SCSS modules | ||
39 | } | ||
40 | } | ||
41 | |||
34 | new Vue({ | 42 | new Vue({ |
35 | router, | 43 | router, |
36 | i18n, | 44 | i18n, |
37 | store, | 45 | store, |
38 | render: h => h(MainLayout) | 46 | render: h => h(MainLayout), |
39 | }).$mount("#ldgallery") | 47 | }).$mount("#ldgallery"); |