-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Icons not showing #39
Comments
You can remove the line : |
give me the exact version in the Gemfile.lock, please. |
Its arctic_admin (1.5.0) |
and "font-awesome-rails" & 'font-awesome-sass' ? I think you use font-awesome 5 and arctic_admin use font-awesome 4 |
|
arctic_admin use font-awesome 4 and you use font-awesome 5. I need to update arctic_admin but i don't have the time now. |
@ameerh I think you also dont need |
@wasifhossain It shows the same error message even after removing |
@ameerh so you are sure that you removed all font-awesome Logically if you remove all the references of a particular resource from js/css manifest files, it should not end up with errors like: <resource> not found. No? |
This trick works Gemfile
|
hello, I'm also struggling with this issue on production (not on development though) and I tried the suggested fixes and also have font-awesome-rails 4 installed. Is there a different solution for this? |
Same issue here, already tried the suggested above |
I have created a new version |
@cprodhomme the same problem / Arctic Admin 2.0.0 and no icons (font-awesome) |
Fix in the version 2.0.1 ! thanks for the repport ! :) |
icons still not showing, is there someone that knows a fix in 2020 ? |
@mykeeouellet can you give me some context ? What is your gemfile ? Sass version |
Someone with the can test with the branch |
@cprodhomme im just tried branch fix/#57 / not working for me, no icons |
@cprodhomme for adding FA icons to arctic admin (with rails 6 / webpacker / activeadmin 2.7.0 / arctic_admin 3.2.0) we just need:
|
Any guide for rails 6 without yarn webpacker? |
@EvanBrightside Wouldn't work with In
|
I am using rails 6. This is what you need to do in order to fix missing icons:
As @EvanBrightside pointed out thank you for that. But you don't need to add the full js library: import "@fortawesome/fontawesome-free/js/all.js"; it adds a 1.1 mb additional size you wanna import that via webpacked for only things you need. This import will import the full JS and not recommended for production. |
Doesn't work with sprockets |
@cle61 I have integrated arctic admin with Rails5 API application. Its integrated fine and everything works well except the icons, they are not displaying. Please see attached screenshot.
I did import font-awesome. Here is my active_admin.css.scss file looks like:
@import "font-awesome";
@import "arctic_admin/base";
The text was updated successfully, but these errors were encountered: