Created
July 25, 2021 05:48
-
-
Save secretpray/d2ffbf874010628c4ea9a4e8cd948f83 to your computer and use it in GitHub Desktop.
How to Install FontAwesome with Yarn and Webpacker in Rails 6?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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