如何修改generator-angular-fullstack favicon?
我正在部署初始项目https://github.com/DaftMonk/generator-angular-fullstack(最受欢迎的自动生成器)。这是一个fullstack angularjs express框架。默认情况下,它使用自耕头人作为favicon。有没有办法改变它?
一切都有帮助。谢谢!
答案 0 :(得分:11)
将您自己的favicon.ico
放在您网域的根目录中(可通过http://example.com/favicon.ico
访问)或将其链接到您的HTML头中:
<link rel="icon" href="http://example.com/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico" />
<link type="image/x-icon" href="img/favicon.ico" />