ionic-team/ionicons

Loading svg fails when base-href set

オープン

#707 opened on 2019/07/07

 (7 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (2,083 件のフォーク)batch import
help wantedtype: bug

Repository metrics

Stars
 (17,256 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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?

コントリビューターガイド