Uno.Wasm.Bootstrap
Uno.Wasm.Bootstrap copied to clipboard
Need a way to specify a "favicon" into HTML
Specific need: Need a way to specify a "favicon" in the generated html.
Generalized need: Need a way to specify custom html headers.
The following should be added into the <head> section of the generated html:
<link rel="icon" type="image/png" href="appicon.png">
For specific support for favicon, we may need to specify multiple sizes...
https://www.w3schools.com/tags/att_link_sizes.asp
assign this to me. @jeromelaban
@gagandeepp Thanks for your help!
@jeromelaban do you have any icon image?
We should publish an asset like this one... https://nv-assets.azurewebsites.net/logos/uno.png
how to test this functionality?
If you build the application and deploy it through VS, the icon of the site should be updated.
I have setup Uno.Wasm.Sample has startup project and it is throwing exception?
Should be fixed with https://github.com/unoplatform/uno/issues/3701
New Uno.Wasm.Bootstrap package v1.4.0-dev.45 now allows you to put a favicon.ico at the root of your application. So that's an easy way to fix this problem.
I'll leave it opened because the actual issue - injecting an arbitrary <link> into html's <head> - is not adressed here.