The Amazing Blog - Using Local Font Files in the Rails 7.1 Asset Pipeline

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 #asset #blog https://www.rubyonrails.ba/single/the-amazing-blog-using-local-font-files-in-the-rails-7-1-asset-pipeline

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles