Feat: import all FontAwesomeIcon
This commit is contained in:
		
							
								
								
									
										10
									
								
								src/main.js
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								src/main.js
									
									
									
									
									
								
							| @@ -9,18 +9,12 @@ import 'bootstrap-vue/dist/bootstrap-vue.css' | ||||
|  | ||||
| import { library } from '@fortawesome/fontawesome-svg-core' | ||||
| import { | ||||
|   faCar, faChargingStation, faRoad, | ||||
|   faUtensils, faDirections, | ||||
|   faFileInvoiceDollar, faMoneyBillWave, faCreditCard, | ||||
|   faShoppingCart, faShoppingBasket | ||||
|   fas | ||||
| } from '@fortawesome/free-solid-svg-icons' | ||||
| import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' | ||||
|  | ||||
| library.add( | ||||
|   faCar, faChargingStation, faRoad, | ||||
|   faUtensils, faDirections, | ||||
|   faFileInvoiceDollar, faMoneyBillWave, faCreditCard, | ||||
|   faShoppingCart, faShoppingBasket | ||||
|   fas | ||||
| ) | ||||
|  | ||||
| Vue.component('font-awesome-icon', FontAwesomeIcon) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user