diff options
author | Notkea | 2020-01-31 18:09:33 +0100 |
---|---|---|
committer | GitHub | 2020-01-31 18:09:33 +0100 |
commit | 245fee3fe5abdc6ad14513ef6522446aba4c905a (patch) | |
tree | 749ec466c404499f19d571834262b87c14f0d0af /viewer/src/plugins/buefy.ts | |
parent | d94b987463169b254ab69a79ddb58e5beccb0941 (diff) | |
parent | be8ec3edaed843f08dac3d2bf2f10f7247ef3d3a (diff) | |
download | ldgallery-245fee3fe5abdc6ad14513ef6522446aba4c905a.tar.gz |
Merge pull request #68 from pacien/oz-viewer
Diffstat (limited to 'viewer/src/plugins/buefy.ts')
-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 | ||