Open Pritesh-Inexture opened 3 years ago
@Pritesh-Inexture for now I think it wont work - in this case rendering doesn't use the index_string property. This should be a straightforward extension.
However, as a stopgap measure, can you get what you want by using the plotly_direct template tag?
Plotly dash provides an option to modify the index_string of the dash application. It basically allows the developer to make changes in the HTML template of dash application that will be rendered on the browser. I don't think that is possible while using django-plotly-dash.
Here is a code snippet of what I have tried.
None of the above methods seems to work. (Nothing changes dash application renders normally)
I am not sure if this is a feature request or I am doing something wrong. Here is the link to the plotly dash documentation for modifying the template.
My intention is to modify the template and include compressed, minified and bundled CSS and JS files in the dash application.