How do you modify the generator-angular-fullstack

2019-05-18 21:59发布

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

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?

Anything helps. Thanks!

1条回答
乱世女痞
2楼-- · 2019-05-18 22:16

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" />
查看更多
登录 后发表回答