diff options
author | pacien | 2020-05-02 04:11:24 +0200 |
---|---|---|
committer | pacien | 2020-05-02 04:11:24 +0200 |
commit | 8e3ac8fe44bebb38e1882ca7f06b8100078ad88d (patch) | |
tree | a748fa1e639cb3b5e1f24a8150e89dbb28c980cb /viewer/src/plugins/fontawesome.ts | |
parent | 7042ffc06326fa8ffe70f5a59747709250166c16 (diff) | |
parent | 0e0b5b0ae44da7c1d67983dedd8f8d8d3516236f (diff) | |
download | ldgallery-1.0.tar.gz |
Merge branch 'develop': release v1.0v1.0
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); |