【发布时间】:2017-05-17 05:15:09
【问题描述】:
- 操作系统:win32 x64
- angular-cli: 1.0.0-beta.22-1
- 节点:7.1.0
重现步骤。
-
删除线
<link rel="icon" type="image/x-icon" href="favicon.ico">来自 index.html
- ng 构建
- ng 服务
- 浏览http://localhost:4200/
它仍然显示默认的角度图标。 在清除浏览器缓存后也尝试了上述步骤,仍然是同样的问题。
以下浏览器用于重现问题:
- Chrome(版本 54.0.2840.99 m)
- IE(版本 11.0.98600.18499)
【问题讨论】:
-
查看生成的 index.html 页面即可。如果它没有任何指向图标的链接,那么它只是一个浏览器缓存问题,你不应该关心