The Amazing Blog - Using Local Font Files in the Rails 7.1 Asset Pipeline
03-May-2024 643
I wanted to play with the new hotness of Rails asset handling in a sideproject, and ran into some fiddliness in getting FontAwesome webfonts to be seen when loading them from an SCSS file. I'm using propshaft and Dart Sass in this app to build my CSS assets, and there wasn't any documentation I could find on how to reference your local font files within your SCSS files.
The Amazing Blog - Using Local Font Files in the Rails 7.1 Asset Pipeline #ruby #rubydeveloper #rubyonrails #Amazing #Using #Local #Files #Rails #Asset #Pipeline #asset #blog https://rubyonrails.ba/link/the-amazing-blog-using-local-font-files-in-the-rails-7-1-asset-pipeline