diff options
Diffstat (limited to 'viewer/src')
-rw-r--r-- | viewer/src/main.ts | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/viewer/src/main.ts b/viewer/src/main.ts index a8ff322..bc005c5 100644 --- a/viewer/src/main.ts +++ b/viewer/src/main.ts | |||
@@ -19,21 +19,23 @@ | |||
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 "@/components" | ||
23 | import "@/plugins/fontawesome"; | ||
24 | import "@/plugins/buefy"; | ||
25 | import "@/plugins/lazyimage"; | ||
26 | import "@/plugins/dragscroll"; | ||
27 | import store from '@/store' | 22 | import store from '@/store' |
28 | import i18n from "@/plugins/i18n"; | 23 | import i18n from "@/plugins/i18n"; |
29 | import router from "@/plugins/router"; | 24 | import router from "@/plugins/router"; |
30 | import MainLayout from "@/views/MainLayout.vue"; | ||
31 | |||
32 | Vue.config.productionTip = false; | 25 | Vue.config.productionTip = false; |
33 | 26 | ||
27 | import(/* webpackChunkName: "ui" */ "@/plugins/buefy"); | ||
28 | import(/* webpackChunkName: "ui" */ "@/components"); | ||
29 | import(/* webpackChunkName: "ui" */ "@/plugins/lazyimage"); | ||
30 | import(/* webpackChunkName: "ui" */ "@/plugins/dragscroll"); | ||
31 | import(/* webpackChunkName: "ui" */ "@/plugins/fontawesome"); | ||
32 | const MainLayout = () => import(/* webpackChunkName: "ui" */ "@/views/MainLayout.vue"); | ||
33 | |||
34 | new Vue({ | 34 | new Vue({ |
35 | router, | 35 | router, |
36 | i18n, | 36 | i18n, |
37 | store, | 37 | store, |
38 | render: h => h(MainLayout) | 38 | render: h => h(MainLayout) |
39 | }).$mount("#ldgallery"); | 39 | }).$mount("#ldgallery") |
40 | |||
41 | |||