How to change Angular CLI favicon

后端 未结 30 1607
谎友^
谎友^ 2020-12-07 16:32

How can I change the default favicon that is set by the Angular CLI?

I have tried many things, but it always shows the Angular logo as the favicon, even though I hav

30条回答
  •  温柔的废话
    2020-12-07 16:37

    An editor (in my case IDEA 2020.2) can sometimes add src/ prefix to icon location in href. I mean

     
    

    instead of

      
    

    So in this case you should remove this src/ part in href. This solved the problem for me.

提交回复
热议问题