Using vue-font-awesome to display a facebook icon in a Vue CLI application
I faced the same problem. Solved with this:
terminal:npm install --save @fortawesome/free-brands-svg-iconsmain.js:import { faFacebook } from '@fortawesome/free-brands-svg-icons'library.add(faFacebook)inside code:<font-awesome-icon :icon="{ prefix: 'fab', iconName: 'facebook' }"/>
check the fontawesome-free-brands
for faFacebookSquare
import { faFacebookSquare, faFacebookMessenger } from '@fortawesome/fontawesome-free-brands';
does that work?
edit
just saw that faFacebookF
is available there too, I just missed it
import { faFacebookF } from '@fortawesome/fontawesome-free-brands';