ionic-team/ionicons

Loading svg fails when base-href set

Open

#707 aperta il 7 lug 2019

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)TypeScript (2083 fork)batch import
help wantedtype: bug

Metriche repository

Star
 (17.256 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor