aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/plugins/fontawesome.ts
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/plugins/fontawesome.ts')
-rw-r--r--viewer/src/plugins/fontawesome.ts13
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
20import Vue from "vue"; 20import Vue from "vue";
21 21
22import { library } from "@fortawesome/fontawesome-svg-core"; 22import { library, config } from "@fortawesome/fontawesome-svg-core";
23import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; 23import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
24import { 24import {
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
37library.add( 39library.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
54config.autoAddCss = false;
55import "@fortawesome/fontawesome-svg-core/styles.css";
56
50Vue.component("fa-icon", FontAwesomeIcon); 57Vue.component("fa-icon", FontAwesomeIcon);