Neutral Political Machine

    font-awesome5

    1.0.5 • Public • Published

    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.

    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');

    1. 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";

    1. Compile your a new "app.css"
    $ npm run dev

    (Thanks to Dillinger helping me format this readme)

    License

    MIT

    Install

    npm i font-awesome5

    DownloadsWeekly Downloads

    66

    Version

    1.0.5

    License

    none

    Unpacked Size

    2.06 MB

    Total Files

    59

    Last publish

    Collaborators

    • kuk