I want to set up Font-Awesome with Sass and I can't figure out what I'm doing wrong.I'm getting some bordered squares instead of the icons.Here's what I did:
- Downloaded font-awesome directory.
- Copied
font-awesome.css
in my css folder. - Copied font files in my fonts folder.
- Copied sass _partials and
font-awesome.scss
in my sass folder. - Imported
font-awesome.scss
in my main.sass file using:@import "font-awesome.scss"
- Compiled
main.scss
andfont-awesome.scss
I didn't change $fa-font-path
inside _variables.css
partial because the default path(../fonts)
seems correct.Here's my project structure:
root
css
font-awesome.css
fonts
*(fontawesome font files)*
sass
font-awesome.scss
main.sass
*(_partials)*
js
main.js