I\'m trying to use Fontawesome in my Flask/webpack project.
The craziest thing is some point it worked then stopped, I changed something stupid, it worked again and fina
this worked for me
import "@fortawesome/fontawesome-free/js/all.js";
import "@fortawesome/fontawesome-free/css/all.css";
in: app/javascript/packs/application.js
my case: Rails 6 webpacker gem, webpack, yarn
installed via yarn add @fortawesome/fontawesome-free
from https://github.com/rails/webpacker/issues/619#issuecomment-590454028