I am trying to create a plotly dash app in Django and use django-plotly-dash. Everything works just fine, but since I am setting up the app on a server without internet connection, I have to use the serve_locally option. Since I added this one, the app can’t find my CSS, placed in the static folder anymore:
app = DjangoDash('funds_dash', serve_locally=True)
app.css.append_css({'external_url': '/_static/css/app_stylesheet.css'})
The CSS is loaded without the serve_locally
option.
Does anyone know how to add local CSS with serve_locally
set to True
?
Thanks in advance.
2 posts - 2 participants