import { library } from '@fortawesome/fontawesome-svg-core' ; import { faGithub } from '@fortawesome/free-brands-svg-icons' ; /** BRAND ICONS (PREFIX: fab) */ import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' ; /** REGULAR ICONS (PREFIX: far) */ import { faFolderOpen , faFolder , faSmile } from '@fortawesome/free-regular-svg-icons' ; /** SOLID ICONS (PREFIX: fas (default)) */ import { faTimes , faFileDownload , faCopy , faSearch , faInfoCircle , faUserSecret , faDesktop , faTag , faGlobe , faSave , faBatteryFull , faBatteryHalf , faPlay , faArrowsAltH , } from '@fortawesome/free-solid-svg-icons' ; import { IVueBootstrapper , VueConstructor } from '../IVueBootstrapper' ; export class IconBootstrapper implements IVueBootstrapper { public bootstrap ( vue ) { library . add ( faGithub , faUserSecret , faSmile , faDesktop , faGlobe , faTag , faFolderOpen , faFolder , faTimes , faFileDownload , faSave , faCopy , faPlay , faSearch , faBatteryFull , faBatteryHalf , faInfoCircle , faArrowsAltH ) ; vue . component ( 'font-awesome-icon' , FontAwesomeIcon ) ; } }