-
-
Notifications
You must be signed in to change notification settings - Fork 163
/
Copy pathmain.js
29 lines (27 loc) · 1.07 KB
/
main.js
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
26
27
28
29
import Vue from 'vue'
import App from './App.vue'
import Buefy from 'buefy'
import i18n from './i18n'
import { library } from '@fortawesome/fontawesome-svg-core'
// internal icons
import {
faCheck, faCheckCircle, faInfoCircle, faExclamationTriangle, faExclamationCircle,
faArrowUp, faAngleRight, faAngleLeft, faAngleDown, faUserCircle, faQuestionCircle,
faEye, faEyeSlash, faCaretDown, faCaretUp, faUpload, faCopy
} from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import LicenseUtilities from './utils/license-utilities'
library.add(faCheck, faCheckCircle, faInfoCircle, faExclamationTriangle, faExclamationCircle,
faArrowUp, faAngleRight, faAngleLeft, faAngleDown, faUserCircle, faQuestionCircle,
faEye, faEyeSlash, faCaretDown, faCaretUp, faUpload, faCopy)
Vue.component('vue-fontawesome', FontAwesomeIcon)
Vue.config.productionTip = false
Vue.use(Buefy, {
defaultIconComponent: 'vue-fontawesome',
defaultIconPack: 'fas'
})
Vue.use(LicenseUtilities)
new Vue({
i18n,
render: h => h(App)
}).$mount('#app')