Reputation: 374
I have tried all options specified in the link How to change Angular CLI favicon
The image favicon is not coming.
I made my image 32*32Ppx size and replaced it in src and tried and also tried keeping it in assests.
In angular.json I modified like this
"assets": [ "src/favicon.png", "src/assets" ],
In index.html
The title is loaded as shown in the attached image.
Is there something I have to do in angular 10?
Regards,
Nagasree.
Upvotes: 0
Views: 3843
Reputation: 2493
Easy way to change favicon icon is replace existing with your own icon.
OR
You can change it by providing your favicon name in index.html and angular.json
Upvotes: 3
Reputation: 10193
You can set favicon on index.html file.
<link rel="icon" type="image/x-icon" href="favicon.png" />
Upvotes: 5