aboutsummaryrefslogtreecommitdiff
path: root/viewer/src
diff options
context:
space:
mode:
authorZero~Informatique2020-08-19 21:37:05 +0200
committerZero~Informatique2020-08-19 21:37:05 +0200
commit8bd5334799d7a666c9cb1c121b59a6cbb94b30e2 (patch)
tree9ce497ce1f0617460d3e27afeb54c41ed87d4ff1 /viewer/src
parent74e74844abd5340d7fb502cc8ed18f488fb65b51 (diff)
downloadldgallery-8bd5334799d7a666c9cb1c121b59a6cbb94b30e2.tar.gz
viewer: defining $style type for Vue prototype
Diffstat (limited to 'viewer/src')
-rw-r--r--viewer/src/main.ts6
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");
31import(/* webpackChunkName: "ui" */ "@/plugins/fontawesome"); 31import(/* webpackChunkName: "ui" */ "@/plugins/fontawesome");
32const MainLayout = () => import(/* webpackChunkName: "ui" */ "@/views/MainLayout.vue"); 32const MainLayout = () => import(/* webpackChunkName: "ui" */ "@/views/MainLayout.vue");
33 33
34declare module "vue/types/vue" {
35 interface Vue {
36 $style: any; // SCSS modules
37 }
38}
39
34new Vue({ 40new Vue({
35 router, 41 router,
36 i18n, 42 i18n,