如何修改generator-angular-fullstack网站图标? [英] How do you modify the generator-angular-fullstack favicon?

查看:109
本文介绍了如何修改generator-angular-fullstack网站图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何修改generator-angular-fullstack图标?

How do you modify the generator-angular-fullstack favicon?

我正在部署入门项目 https://github.com/DaftMonk/generator-angular -fullstack (最受欢迎的yeoman生成器).这是一个全栈的angularjs express框架.默认情况下,它使用yeoman家伙作为收藏夹图标.有办法改变吗?

I'm deploying the starter project https://github.com/DaftMonk/generator-angular-fullstack (the most popular yeoman generator). This is a fullstack angularjs express framework. By default it uses the yeoman guy as the favicon. Is there a way to change it?

任何帮助.谢谢!

推荐答案

或者将您自己的favicon.ico放在域的根目录中(可通过例如http://example.com/favicon.ico访问),也可以将其链接到HTML头中:

Either put your own favicon.ico in the root of your domain (accessible via e.g. http://example.com/favicon.ico) or link it in your HTML head:

<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" />

这篇关于如何修改generator-angular-fullstack网站图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆