ionic-team/ionicons

Loading svg fails when base-href set

開放

#707 建立於 2019年7月7日

 (7 則留言) (0 個反應) (0 位負責人)TypeScript (2,083 個分叉)batch import
help wantedtype: bug

倉庫指標

星標
 (17,256 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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?

貢獻者指南