aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/plugins/fontawesome.ts
blob: 3bd7d08a8f782ba6d7e015c22fbdf7aa8d1a7ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import Vue from "vue";

import { library } from "@fortawesome/fontawesome-svg-core";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import {
    faExpandArrowsAlt,
    faFolder,
    faSearch,
    faTag,
    faPlus,
    faMinus,
    faImage,
} from "@fortawesome/free-solid-svg-icons";

library.add(
    faExpandArrowsAlt,
    faFolder,
    faSearch,
    faTag,
    faPlus,
    faMinus,
    faImage,
);

Vue.component("fa-icon", FontAwesomeIcon);