font-awesome5

A package for the font-awesome version 5.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
font-awesome5
1.0.55 years ago5 years agoMinified + gzip package size for font-awesome5 in KB

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
  1. pull in the package
$ npm install font-awesome5
  1. In your webpack.mix.js, your "mix.js" should copy the font-awesome fonts.
  2. mix.js('resources/assets/js/app.js', 'public/js')
  3. .version()
  4. .sass('resources/assets/sass/app.scss', 'public/css')
  5. .copy('nodemodules/font-awesome5/webfonts', 'public/assets/fonts');
  6. In your "app.scss" file, bring in the font-awesome css
  7. // Font awsome
  8. $fa-font-path: "/assets/fonts";
  9. @import "nodemodules/font-awesome5/scss/fontawesome";
  10. @import "nodemodules/font-awesome5/scss/fa-solid";
  11. @import "nodemodules/font-awesome5/scss/fa-brands";
  12. @import "nodemodules/font-awesome5/scss/fa-regular";
  13. Compile your a new "app.css"
$ npm run dev

(Thanks to Dillinger helping me format this readme)

License

MIT
[FontAwesome]: <https://fontawesome.com>
[Dillinger]: <https://dillinger.io>