From 8bd5334799d7a666c9cb1c121b59a6cbb94b30e2 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Wed, 19 Aug 2020 21:37:05 +0200 Subject: viewer: defining $style type for Vue prototype --- viewer/src/main.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'viewer') 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"); import(/* webpackChunkName: "ui" */ "@/plugins/fontawesome"); const MainLayout = () => import(/* webpackChunkName: "ui" */ "@/views/MainLayout.vue"); +declare module "vue/types/vue" { + interface Vue { + $style: any; // SCSS modules + } +} + new Vue({ router, i18n, -- cgit v1.2.3