-
Notifications
You must be signed in to change notification settings - Fork 25
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
Pro icons not working #35
Comments
@MakarovCode FA just released Kits a few days ago which makes using Pro icons with this gem much easier. See the updated Readme in the PR I just made: #37 |
@MakarovCode Sorry for slow response. I'm not using Pro icons so I didn't try this. Did you find the solution or steps proposed by @parterburn worked for you? |
Yes, it did work, I remove the next lines from application.scss and application.js
And load the CDN (Kit) in my application.html.erb Very important is to check Pro in the Font Awesome Kit configuration. |
@MakarovCode Super, thank you for response. Closing for now. Feel free to reopen if you have any problem. |
Hi, Like MakarovCode, it works for me. |
I've been trying to use the pro icons but can't make it work.
I download de SVG files, save them in app/assets/svg folder.
Add this line to config/initializers/assets.rb
Rails.application.config.assets.precompile += %w( svg/* )
Try using icons with both the HTML and GEM Helpers:
<%= fa_icon('analytics', type: :fas) %> <i class="fas fa-analytics"></i>
Restarted my server, not working!. What am I missing?
The text was updated successfully, but these errors were encountered: