diff options
Diffstat (limited to 'viewer/src/plugins/fontawesome.ts')
-rw-r--r-- | viewer/src/plugins/fontawesome.ts | 43 |
1 files changed, 28 insertions, 15 deletions
diff --git a/viewer/src/plugins/fontawesome.ts b/viewer/src/plugins/fontawesome.ts index 7fb08a3..480e8e0 100644 --- a/viewer/src/plugins/fontawesome.ts +++ b/viewer/src/plugins/fontawesome.ts | |||
@@ -19,26 +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 | faExpandArrowsAlt, | 25 | faFolder, |
26 | faFolder, | 26 | faEraser, |
27 | faSearch, | 27 | faSearch, |
28 | faTag, | 28 | faPlus, |
29 | faPlus, | 29 | faMinus, |
30 | faMinus, | 30 | faImage, |
31 | faImage, | 31 | faHome, |
32 | faArrowLeft, | ||
33 | faLevelUpAlt, | ||
34 | faAngleRight, | ||
35 | faAngleDoubleLeft, | ||
36 | faFile, | ||
32 | } from "@fortawesome/free-solid-svg-icons"; | 37 | } from "@fortawesome/free-solid-svg-icons"; |
33 | 38 | ||
34 | library.add( | 39 | library.add( |
35 | faExpandArrowsAlt, | 40 | faFolder, |
36 | faFolder, | 41 | faEraser, |
37 | faSearch, | 42 | faSearch, |
38 | faTag, | 43 | faPlus, |
39 | faPlus, | 44 | faMinus, |
40 | faMinus, | 45 | faImage, |
41 | faImage, | 46 | faHome, |
47 | faArrowLeft, | ||
48 | faLevelUpAlt, | ||
49 | faAngleRight, | ||
50 | faAngleDoubleLeft, | ||
51 | faFile, | ||
42 | ); | 52 | ); |
43 | 53 | ||
54 | config.autoAddCss = false; | ||
55 | import "@fortawesome/fontawesome-svg-core/styles.css"; | ||
56 | |||
44 | Vue.component("fa-icon", FontAwesomeIcon); | 57 | Vue.component("fa-icon", FontAwesomeIcon); |