Serving Local Assets

This example demonstrates serving local assets as part of a Dash app.

The extra files are specified using the standard plotly dash approach, and are made available through the standard Django staticfiles infrastructure. This means that they will be served the same way as other static files through a reverse proxy.

{% load plotly_dash %}

<div class="{% plotly_class name="LocalState"%}">

{% plotly_app name="LocalState" ratio=0.3 %}

<\div>