Font-Awesome 5 Bower/Npm Install

Created on 15 Dec 2017  路  5Comments  路  Source: FortAwesome/Font-Awesome

Is there a way to use Font-Awesome 5 with bower or npm?

I didn't find an answer to that in the docs, maybe I missed it?

Most helpful comment

Nevermind, I think I was too quick to log an issue, found it!

https://fontawesome.com/how-to-use/use-with-node-js

All 5 comments

Nevermind, I think I was too quick to log an issue, found it!

https://fontawesome.com/how-to-use/use-with-node-js

I think it's not clear enough if I'm used to v4, how do I use v5 in the same way?

I use it sass like this:

npm i -S font-awesome
$fa-font-path: '../assets/fonts';
@import '../../node_modules/font-awesome/scss/font-awesome';

and then

<i class="fa fa-youtube"></i>

What's the equivalent with v5?

@brunolm please try with https://www.npmjs.com/package/@fortawesome/fontawesome-free-webfonts

Any updates on how to use FontAwesome 5 with bower, this one shows for npm and yarn only

@venkat-subramani

Any updates on how to use FontAwesome 5 with bower, this one shows for npm and yarn only

Sorry. Font Awesome 5 will not support bower. Please consider an alternative.

Official answer: https://github.com/FortAwesome/Font-Awesome/issues/11908#issuecomment-353192558

Post on the bower blog: https://bower.io/blog/2017/how-to-migrate-away-from-bower/

Hope it helps

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mitch621 picture mitch621  路  180Comments

slayer925 picture slayer925  路  179Comments

GabrielDelepine picture GabrielDelepine  路  202Comments

marceloverdijk picture marceloverdijk  路  163Comments

ghost picture ghost  路  161Comments