Vue font mengagumkan
//Font Awesome Core
npm i --save @fortawesome/fontawesome-svg-core
//Free icons
npm i --save @fortawesome/free-solid-svg-icons
npm i --save @fortawesome/free-regular-svg-icons
//Pro icons
npm i --save @fortawesome/pro-solid-svg-icons
npm i --save @fortawesome/pro-regular-svg-icons
npm i --save @fortawesome/pro-light-svg-icons
npm i --save @fortawesome/pro-thin-svg-icons
npm i --save @fortawesome/pro-duotone-svg-icons
//Vue 3 component
npm i --save @fortawesome/vue-fontawesome@prerelease
//In Vue
/* import the fontawesome core */
import { library } from '@fortawesome/fontawesome-svg-core'
/* import specific icons */
import { faPlus } from '@fortawesome/free-solid-svg-icons'
/* import font awesome icon component */
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
/* add icons to the library */
library.add(faPlus)
/* add font awesome icon component */
Vue.component('font-awesome-icon', FontAwesomeIcon)
//In component
<font-awesome-icon :icon="['fas', 'plus']" />
Horcion