I am working on a WASM standalone application and simply trying to change the color of the loading page. By default it is white.
Here is what I have tried (in Index.html):
<body><div style="background-color: red" id="app"></div><div id="blazor-error-ui"> An unhandled error has occurred.<a href="" class="reload">Reload</a><a class="dismiss">🗙</a></div><script src="_framework/blazor.webassembly.js"></script></body>-> The page remains white until Home page is loaded.
2nd thing I tried (same code as above, only adding style attribute to body here):
<body style="background-color: red" >-> The page is white, then red, then Home page is loaded, still not what I want to achieve.
What am I missing here ?