Feat: import all FontAwesomeIcon

This commit is contained in:
Bertrand Benjamin 2018-12-03 11:03:23 +01:00
parent 81b3fe241e
commit 8381dd51c2

View File

@ -9,18 +9,12 @@ import 'bootstrap-vue/dist/bootstrap-vue.css'
import { library } from '@fortawesome/fontawesome-svg-core' import { library } from '@fortawesome/fontawesome-svg-core'
import { import {
faCar, faChargingStation, faRoad, fas
faUtensils, faDirections,
faFileInvoiceDollar, faMoneyBillWave, faCreditCard,
faShoppingCart, faShoppingBasket
} from '@fortawesome/free-solid-svg-icons' } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
library.add( library.add(
faCar, faChargingStation, faRoad, fas
faUtensils, faDirections,
faFileInvoiceDollar, faMoneyBillWave, faCreditCard,
faShoppingCart, faShoppingBasket
) )
Vue.component('font-awesome-icon', FontAwesomeIcon) Vue.component('font-awesome-icon', FontAwesomeIcon)