aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/main.ts')
-rw-r--r--viewer/src/main.ts14
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
20import Vue from "vue"; 20import Vue from "vue";
21import "@/assets/scss/global.scss"; 21import "@/assets/scss/global.scss";
22import store from "@/store" 22import "@/assets/scss/scrollbar.scss";
23import "@/assets/scss/transition.scss";
24import store from "@/store";
23import i18n from "@/plugins/i18n"; 25import i18n from "@/plugins/i18n";
24import router from "@/plugins/router"; 26import router from "@/plugins/router";
25Vue.config.productionTip = false; 27Vue.config.productionTip = false;
@@ -31,9 +33,15 @@ import(/* webpackChunkName: "ui" */ "@/plugins/dragscroll");
31import(/* webpackChunkName: "ui" */ "@/plugins/fontawesome"); 33import(/* webpackChunkName: "ui" */ "@/plugins/fontawesome");
32const MainLayout = () => import(/* webpackChunkName: "ui" */ "@/views/MainLayout.vue"); 34const MainLayout = () => import(/* webpackChunkName: "ui" */ "@/views/MainLayout.vue");
33 35
36declare module "vue/types/vue" {
37 interface Vue {
38 $style: any; // SCSS modules
39 }
40}
41
34new Vue({ 42new 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");