-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serving css and js locally and adding local css files to dash [Question/ possible issue?] #121
Comments
@yosiz can you provide more colour on your comments regarding |
It might be that I'm not doing it correctly, |
At the moment, the Independently of this flag, django-plotly-dash does not currently serve any local assets (from the assets subdirectory or similar), hence #122 Until that is done, your best workaround is to use your own template - ie something based on the plotly-direct template tag |
Local assets should now work as #133 has been merged to trunk and released in 0.9.9, although the documentation is not as good as one might wish. |
setting serve_locally to True when creating DjangoDash seems to result in an error,
is there anything that needs to be done for this to work?
Also,
was trying to add local css files which doesn't seem to work - not sure what is the correct way of doing it
Tried:
app.css.append_css('/static/loader.css')
(to load the 'loading...' animation for long callbacks)
The text was updated successfully, but these errors were encountered: