diff options
author | OzoneGrif | 2020-02-08 09:27:17 +0100 |
---|---|---|
committer | GitHub | 2020-02-08 09:27:17 +0100 |
commit | 32abf4e1f82dcb9738bbfc41a84bb38672e14603 (patch) | |
tree | 6c84ca58754eb34a1d9962a63446535a1386c975 /viewer/src | |
parent | 2480140446e01c8cd0e317016c6debde5f14e8ab (diff) | |
parent | 8b8ff179021a204930253a310cc2e9213e342fd1 (diff) | |
download | ldgallery-32abf4e1f82dcb9738bbfc41a84bb38672e14603.tar.gz |
Merge pull request #98 from pacien/oz-project-optimization
Oz project optimization
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 | |||