Added fontawesome to vue components
This commit is contained in:
parent
7850541f74
commit
f5089cea88
@ -1,9 +1,13 @@
|
||||
import Vue from 'vue'
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
/* import 'bootstrap' */
|
||||
/* import 'bootstrap/scss/bootstrap.scss' */
|
||||
import '../scss/default.scss'
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import { fas } from '@fortawesome/free-solid-svg-icons'
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
||||
|
||||
library.add(fas)
|
||||
Vue.component('font-awesome-icon', FontAwesomeIcon)
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user