Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
How can I use CSS and other static files (image, python, js, etc) in my Dash app?
I already tried to use the project library folder but I wasn't successful.
I know how to use such files from the internet but any solution if the files are only available locally?
you need to use the instance-wide local/static/ folder, which is located in DATADIR/local/static/ and accessible in the UI via the Global Shared Code (from the global menu on the right of the menubar) > Static web resources. The files can then be accessed via the url http://dssHost:dssPort/local/static/path/to/the/file
I hope this helps!