简体   繁体   中英

font-awesome icons not displaying

I installed the gem "font-awesome-sass" , and my static page is not loading the icons. Texts are appearing instead of the actual line

<li><i class="fa fa-twitter fa-1g "></i> fa-twitter</li>

this is an example how i'm calling it. I'm not sure where to go from here, since the guide to use font-awesome was pretty much installing the gem

Any suggestions?

You need to require it in the asset pipeline still

Put this in your application.css.scss

*= require font-awesome

Noted on the last line of their readme

https://github.com/FortAwesome/font-awesome-sass

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM