diff options
author | Zero~Informatique | 2020-08-19 21:37:05 +0200 |
---|---|---|
committer | Zero~Informatique | 2020-08-19 21:37:05 +0200 |
commit | 8bd5334799d7a666c9cb1c121b59a6cbb94b30e2 (patch) | |
tree | 9ce497ce1f0617460d3e27afeb54c41ed87d4ff1 | |
parent | 74e74844abd5340d7fb502cc8ed18f488fb65b51 (diff) | |
download | ldgallery-8bd5334799d7a666c9cb1c121b59a6cbb94b30e2.tar.gz |
viewer: defining $style type for Vue prototype
-rw-r--r-- | viewer/src/main.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/viewer/src/main.ts b/viewer/src/main.ts index 3c1a5d1..b6e90f7 100644 --- a/viewer/src/main.ts +++ b/viewer/src/main.ts | |||
@@ -31,6 +31,12 @@ import(/* webpackChunkName: "ui" */ "@/plugins/dragscroll"); | |||
31 | import(/* webpackChunkName: "ui" */ "@/plugins/fontawesome"); | 31 | import(/* webpackChunkName: "ui" */ "@/plugins/fontawesome"); |
32 | const MainLayout = () => import(/* webpackChunkName: "ui" */ "@/views/MainLayout.vue"); | 32 | const MainLayout = () => import(/* webpackChunkName: "ui" */ "@/views/MainLayout.vue"); |
33 | 33 | ||
34 | declare module "vue/types/vue" { | ||
35 | interface Vue { | ||
36 | $style: any; // SCSS modules | ||
37 | } | ||
38 | } | ||
39 | |||
34 | new Vue({ | 40 | new Vue({ |
35 | router, | 41 | router, |
36 | i18n, | 42 | i18n, |