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

How to include javascript files with imports?

$
0
0

I need to include a few javascript files with import statements. Ideally, i would just put them in the assets folder. However, this does not work when import statements are present, as the files must be loaded as modules. I know i can just do that manually by adding a new script element with type=module in the index_string of the app, but i was wondering if there is a simpler solution? :slight_smile:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles