font-awesome5
v1.0.5
Published
A package for the font-awesome version 5.
Downloads
3,378
Maintainers
Readme
Fontawesome version 5
If you are looking to use font-awesome version 5, this is it! Head over to FontAwesome to view all nice looking icons
Laravel installation
- pull in the package
$ npm install font-awesome5
- In your webpack.mix.js, your "mix.js" should copy the font-awesome fonts.
mix.js('resources/assets/js/app.js', 'public/js') .version() .sass('resources/assets/sass/app.scss', 'public/css') .copy('node_modules/font-awesome5/webfonts', 'public/assets/fonts'); 3. In your "app.scss" file, bring in the font-awesome css // Font awsome $fa-font-path: "/assets/fonts"; @import "node_modules/font-awesome5/scss/fontawesome"; @import "node_modules/font-awesome5/scss/fa-solid"; @import "node_modules/font-awesome5/scss/fa-brands"; @import "node_modules/font-awesome5/scss/fa-regular"; 4. Compile your a new "app.css"
$ npm run dev
(Thanks to Dillinger helping me format this readme)
License
MIT