Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the favicon in Blazor webassembly app?

I am working on a blazor app and I need to change the title and the favicon of the app, I could change the title successfully but the favicon it's not working, I am using mudblazor, declearing the head elements using mudblazorPage title working but favicon just not shown up while inspecting the page I can see that it's reading the html element and I am sure about the icon directory but still not workingInspect page on chrome

Tried to modify the index.html in the wwwroot but did'nt work

like image 688
Ziad Avatar asked Sep 16 '25 17:09

Ziad


1 Answers

Try href="favicon.ico"

like image 74
Surinder Singh Avatar answered Sep 18 '25 10:09

Surinder Singh