Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49293

Ion-icon needs addIcon(..) in Ionic8 Angular19?!

$
0
0

Hi,

Im’ just trying out Ionic 8 with Angular19.

It looks like ion-icon is not anymore working like before. I get errors like:

Ionicons Warning]: Could not load icon with name “trash-outline”. Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component. <ion-icon _ngcontent-ng-c3651251419 slot=​"top" name=​"trash-outline" class=​"button md" style=​"margin-bottom:​ 5px;​" ng-reflect-name=​"trash-outline" role=​"img">​…​​slot

I have to add every single icon for every componant manually. You can check it even in the tabs template. Is this a bug or a feature? Any workaround?

Thanks!
Tobias

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49293

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>