-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add How-To load Font Awesome from NPM #1118
Comments
@sdemurjian can you explain it? Actually I'm not able to import font-awesome. |
First of all thanks for your reply. I did what you said, however I'm still getting the following error:
head-config.commonjs:
webpack.common.js:
By the way I can see font-awesome imported in Chrome Dev Tools. |
@rafaelss95 notice that you have to stop and start server for apply changes |
@gilhanan Yes, I did. |
You have to copy font files too |
Thank you all guys, I copied the fonts as @RaphaelYan said and now it's working.
|
I have to laugh reading this - first @sdemurjian says "It's as simple as adding an element ...", then after someone else has struggled with his solution that doesn't work, and identifies all the steps required, he comes back with "Oops, yes was missing fonts" !!! LOL. I think this thread proves the very point of the original issue - that it needs (better) documenting ! To be honest its a lot messier to use the module than I expected - as in a lot of additional work over and above the initial npm install. |
[x] wiki request
I saw "Need a How-To written? Open an issue https://github.com/AngularClass/angular2-webpack-starter/issues/new so I can include it".
And since a lot of people are using Font Awesome, it will be great to add in wiki, especially the way to load Font Awesome from NPM (always a pain..).
The text was updated successfully, but these errors were encountered: