fortawesome install code example
Example 1: npm font awesome 5
import '@fortawesome/fontawesome-free/js/all.js';
Example 2: npm font awesome 5
@import '~@fortawesome/fontawesome-free/scss/fontawesome';
@import '~@fortawesome/fontawesome-free/scss/<type>';