Blazor - Customize the startup message
We all have seen the little “Loading…” message that appears with you are starting up a Blazor client-side application. A quick text search you can see the text in the index.html page under the wwwroot folder. It is simple enough to change the text to anything you would like. But what if you wanted to have a cool animated gif or a awesome CSS spinner? When I first thought about doing this, I googled for it. I did not find too many examples to work with. I did find that Telerik has a component for this, but you must buy their tool set. I took a step back and thought about it. We are talking about just an HTML page. Standard Loading: First Try My first step was to create a class with a CSS spinner in it and add that class to: <app class=”myspinner”> </app> Surprisingly, the spinner showed during loading nicely. Unfortunately, once the first page of the application loaded, the spinner was still going. ...