hello everyone,
this is my main.js
// Font Awesome
import { library, dom } from '@fortawesome/fontawesome-svg-core';
import { faQuestionCircle } from '@fortawesome/free-regular-svg-icons';
import { faFacebook, faTwitter, faYoutube, faVimeoV, faLinkedinIn, faInstagram } from '@fortawesome/free-brands-svg-icons';
import { faLink } from '@fortawesome/free-solid-svg-icons';
// add the imported icons to the library
library.add(faQuestionCircle,faFacebook, faTwitter, faYoutube, faVimeoV, faLinkedinIn, faInstagram, faLink);
// tell FontAwesome to watch the DOM and add the SVGs when it detects icon markup
dom.watch();
this is my html: <i class="fas fa-facebook"></i>
this is the output…
(an SVG with alternating ! and ?)
what’s going on?
ty