Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Django Plotly Dash local CSS

$
0
0

@delsim

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

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images