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?

贡献者指南