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
Just import this file in your myStyle.js
import '@fortawesome/fontawesome-free/js/all'
or you can import only specific size of icons
import '@fortawesome/fontawesome-free/js/light'
import '@fortawesome/fontawesome-free/js/regular'
import '@fortawesome/fontawesome-free/js/solid'
import '@fortawesome/fontawesome-free/js/brands'
I think fontawesome.library.add() is not needed.