You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After changing my pages to be lazy loaded (via @IonicPage and using modules) all ionicons dissapeared. When declaring the components directly in app.module.ts, everything works fine.
I did find a workaround, but it's pretty cumbersome and I still think this is either a bug or I did not know how to import the proper module or didn't create the structure as it was supposed to.
After changing my pages to be lazy loaded (via @IonicPage and using modules) all ionicons dissapeared. When declaring the components directly in app.module.ts, everything works fine.
I did find a workaround, but it's pretty cumbersome and I still think this is either a bug or I did not know how to import the proper module or didn't create the structure as it was supposed to.
Module for the main page (HomePage):
As you can see, no icon is shown and the the css content is empty.
Detail view of the button that should have an icon.
This is how it should look like:
The code:
If you try it out, you might need to clean up the build. I used the following:
Thanks in advance and thank you for this wonderful (yet pretty hard to learn) framework!
The text was updated successfully, but these errors were encountered: