Hi,
I am trying to replace “Loading…” text on loading screen. I was trying to create my custom index_string and add there my custom <div>, but I am not able to do this correct.
He is my code:
app.index_string = '''
<!DOCTYPE html>
<html>
<head>
{%metas%}
<title>{%title%}</title>
{%favicon%}
{%css%}
</head>
<body>
<div id="react-entry-point">
<div class="_dash-loading">
<div>
My custom
</div>
</div>
</div>
{%app_entry%}
<footer>
{%config%}
{%scripts%}
{%renderer%}
</footer>
<div></div>
</body>
</html>
'''
My <div> appears for a second, but later “Loading…” text appears.