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/fontawesome.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/fontawesome.ts')
-rw-r--r-- | viewer/src/plugins/fontawesome.ts | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/viewer/src/plugins/fontawesome.ts b/viewer/src/plugins/fontawesome.ts index bf2ff5f..a15f4ce 100644 --- a/viewer/src/plugins/fontawesome.ts +++ b/viewer/src/plugins/fontawesome.ts | |||
@@ -19,32 +19,39 @@ | |||
19 | 19 | ||
20 | import Vue from "vue"; | 20 | import Vue from "vue"; |
21 | 21 | ||
22 | import { library } from "@fortawesome/fontawesome-svg-core"; | 22 | import { library, config } from "@fortawesome/fontawesome-svg-core"; |
23 | import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; | 23 | import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; |
24 | import { | 24 | import { |
25 | faFolder, | 25 | faFolder, |
26 | faSearch, | 26 | faSearch, |
27 | faTag, | ||
28 | faPlus, | 27 | faPlus, |
29 | faMinus, | 28 | faMinus, |
30 | faImage, | 29 | faImage, |
31 | faHome, | 30 | faHome, |
32 | faArrowLeft, | 31 | faArrowLeft, |
32 | faLevelUpAlt, | ||
33 | faTags, | 33 | faTags, |
34 | faAngleRight, | 34 | faAngleRight, |
35 | faWindowClose, | ||
36 | faQuestionCircle, | ||
35 | } from "@fortawesome/free-solid-svg-icons"; | 37 | } from "@fortawesome/free-solid-svg-icons"; |
36 | 38 | ||
37 | library.add( | 39 | library.add( |
38 | faFolder, | 40 | faFolder, |
39 | faSearch, | 41 | faSearch, |
40 | faTag, | ||
41 | faPlus, | 42 | faPlus, |
42 | faMinus, | 43 | faMinus, |
43 | faImage, | 44 | faImage, |
44 | faHome, | 45 | faHome, |
45 | faArrowLeft, | 46 | faArrowLeft, |
47 | faLevelUpAlt, | ||
46 | faTags, | 48 | faTags, |
47 | faAngleRight, | 49 | faAngleRight, |
50 | faWindowClose, | ||
51 | faQuestionCircle, | ||
48 | ); | 52 | ); |
49 | 53 | ||
54 | config.autoAddCss = false; | ||
55 | import "@fortawesome/fontawesome-svg-core/styles.css"; | ||
56 | |||
50 | Vue.component("fa-icon", FontAwesomeIcon); | 57 | Vue.component("fa-icon", FontAwesomeIcon); |