We will be using the following: fontawesome-4.7 NPM package (https://www.npmjs.com/package/fontawesome-4.7)
yarn add fontawesome-4.7
#application.bootstrap.scss
@import "fontawesome-4.7/scss/font-awesome";
If you are using plain CSS, supplement the scss folder with the css folder above.
Copy the fonts folder in ./node_modules/fontawesome-4.7/fonts
to ./public
folder at the root of your Rails app.
When completed you should have ./public/fonts/all_font_files.*
available.
Restart server if need be:
Ctrl + C , $ ./bin/dev