-
Notifications
You must be signed in to change notification settings - Fork 153
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
fa-layers-counter not working in prod #160
Comments
Do you get any errors/warnings in the console? May be related to #154. I personally don't use Ionic, so it's hard to say what may be the issue. If you setup a minimal repro and put it on GitHub, so it is possible to clone, run and observe the problem I can try to debug it. |
Also you do have your code wrapped into
|
Also |
Hello @devoto13, Thank you for your comments! |
@AmbroiseVuaridel Then, please, prepare a minimal reproduction of the problem as requested in #160 (comment). Without the reproduction it is hard to assist your further. |
@devoto13 |
The reason is that you use non-standard I would recommend to use dev tools of the browser to debug such issues: select desired element in the element tree and observe where it is located, then try disabling CSS properties until issue is found. Closing as this is not bug in angular-fontawesome. |
Describe the problem
i got everything working perfectly with ionic 4 and angular 7 with fortawesome 0.3.0,
it is truly awesome.
Unfortunately i have an issue when building for prod : ionic build --prod -- --base-href ./
the badges seem not to be working in this case (it works with ionic serve or ionic build without prod), the code in question is :
<fa-icon [icon]="['fas','shopping-cart']">
<fa-layers-counter [content]="46" class="fa-icon-counter">
this code comes from this tuto to get angular fontawesome work on ionic : https://ionicacademy.com/font-awesome-ionic-4/
(may need to login for free)
What did you expect?
I expected the badge to be visible, exactly as in dev
The text was updated successfully, but these errors were encountered: