diff options
Diffstat (limited to 'viewer/src/plugins')
-rw-r--r-- | viewer/src/plugins/buefy.ts | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/viewer/src/plugins/buefy.ts b/viewer/src/plugins/buefy.ts index 9fa73b6..fbffd55 100644 --- a/viewer/src/plugins/buefy.ts +++ b/viewer/src/plugins/buefy.ts | |||
@@ -19,10 +19,24 @@ | |||
19 | 19 | ||
20 | import Vue from "vue"; | 20 | import Vue from "vue"; |
21 | 21 | ||
22 | import Buefy from "buefy"; | 22 | // @ts-ignore |
23 | import Taginput from 'buefy/src/components/taginput'; | ||
24 | // @ts-ignore | ||
25 | import Loading from 'buefy/src/components/loading'; | ||
26 | // @ts-ignore | ||
27 | import Radio from 'buefy/src/components/radio'; | ||
28 | // @ts-ignore | ||
29 | import SnackBar from 'buefy/src/components/snackbar'; | ||
30 | |||
23 | import "@/assets/scss/buefy.scss"; | 31 | import "@/assets/scss/buefy.scss"; |
24 | 32 | ||
25 | Vue.use(Buefy, { | 33 | Vue.use(Taginput); |
26 | defaultIconComponent: 'fa-icon', | 34 | Vue.use(Loading); |
27 | defaultIconPack: 'fas', | 35 | Vue.use(Radio); |
28 | }); | 36 | Vue.use(SnackBar); |
37 | |||
38 | declare module 'vue/types/vue' { | ||
39 | interface Vue { | ||
40 | $buefy: any; | ||
41 | } | ||
42 | } \ No newline at end of file | ||