install font awsome code example

Example 1: install font awesome

npm install --save @fortawesome/fontawesome-free
$fa-font-path:        "../webfonts";
@import "~@fortawesome/fontawesome-free/scss/fontawesome.scss";
@import "~@fortawesome/fontawesome-free/scss/solid.scss";
@import "~@fortawesome/fontawesome-free/scss/brands.scss";
@import "~@fortawesome/fontawesome-free/scss/regular.scss";
please email me sam@monkeyidesign.com if you have any issues.

Example 2: npm font awesome 5

import '@fortawesome/fontawesome-free/js/all.js';

Example 3: npm font awesome 5

@import '~@fortawesome/fontawesome-free/scss/fontawesome';
@import '~@fortawesome/fontawesome-free/scss/<type>';