Skip to content

Instantly share code, notes, and snippets.

@secretpray
Created July 25, 2021 05:48
Show Gist options
  • Save secretpray/d2ffbf874010628c4ea9a4e8cd948f83 to your computer and use it in GitHub Desktop.
Save secretpray/d2ffbf874010628c4ea9a4e8cd948f83 to your computer and use it in GitHub Desktop.
How to Install FontAwesome with Yarn and Webpacker in Rails 6?
1) Local terminal
=================
yarn add @fortawesome/fontawesome-free
2) javascript/packs/application.js
==================================
import "@fortawesome/fontawesome-free/css/all"
PS Source: https://blog.corsego.com/rails-6-install-fontawesome-with-webpacker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment