You can customize the loading text in a Blazor WebAssembly application by editing the tag for target framework version 3.* or the
tag for target framework version 5.* in the index.html page. In the following example, I have customized the loading text while loading.
[index.html] for target framework version 3.*
<body>
<app>
<div style="position:absolute; top:30vh; width:100%; text-align:center">
<h1> Blazor WASM Application</h1>
<p>The application is loading...</p>
</div>
</app>
. . .
. . .
</body>
[index.html] for target framework version 5.*
<body>
<div id="app">
<div style="position:absolute; top:30vh; width:100%; text-align:center">
<h1> Blazor WASM Application </h1>
<p>The application is loading...</p>
</div>
</div>
. . .
. . .
</body>
Refer to this link for more details.
Share with