How do you modify the generator-angular-fullstack

2019-05-18 21:50发布

问题:

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:

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