How to use Font Awesome 5 icons in Laravel 6
问题 I already installed Fontawesome in my package.json . "devDependencies": { "@fortawesome/fontawesome-free": "^5.11.2" , //etc. }, "dependencies": { "font-awesome": "^4.7.0" } and import it to my app.scss @import "~font-awesome/scss/font-awesome.scss"; I tried <i class="fa fa-edit"></i> and <i class="fas fa-edit"></i> but it just shows like this below, someone knows how to do this correctly? 回答1: Firstly import all fontawesome-icons in your app.scss @import '~@fortawesome/fontawesome-free/scss