ionic-team/ionicons

Loading svg fails when base-href set

Open

#707 ouverte le 7 juil. 2019

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)TypeScript (2 083 forks)batch import
help wantedtype: bug

Métriques du dépôt

Stars
 (17 256 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I am using angular 7.2.2 with ionic 4.6.0.

Everything is fine until i prepare my final deployment where base-href is set to some "/context/path/". Everything keeps working except ionicon resolution, still requesting the resources from "/svg/iconname.svg".

Anything i can do beside hardcoding the src myself?

Guide contributeur