Created
March 5, 2020 20:38
-
-
Save randyzwitch/89d1605430d74b239b2521a11587dc32 to your computer and use it in GitHub Desktop.
Control Dash loading order
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://github.com/omnisci/F1-demo/blob/726c56ba4e8c878abeef81b7cf680bd4d36a4bd2/f1dash/app.py#L36-L55 | |
# helps load css at the footer, to avoid having default react css overwrite | |
app.index_string = ''' | |
<!DOCTYPE html> | |
<html> | |
<head> | |
{%metas%} | |
<title>{%title%}</title> | |
{%favicon%} | |
</head> | |
<body> | |
{%app_entry%} | |
<footer> | |
{%config%} | |
{%scripts%} | |
{%renderer%} | |
{%css%} | |
</footer> | |
</body> | |
</html> | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment