Best way to integrate additional javascript libraries #250
-
Say for example I want to use an autocomplete/typehead library like https://www.cssscript.com/autocomplete-typeahead-bootstrap-5/. What's going to be the best way to integrate this into a project using bootstrap-flask? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
That site has some very useful scripts, thanks. I use often https://clipboardjs.com/ and https://www.chartjs.org/ Not specifically Bootstrap by the way. |
Beta Was this translation helpful? Give feedback.
-
Bootstrap-Flask has nothing to do with additional JS lib, you can include them directly:
If you use
|
Beta Was this translation helpful? Give feedback.
-
@jhudson10x for your needs, see also pallets-eco/wtforms#653 If you want you can upvote it or help with the implementation. 🍀 |
Beta Was this translation helpful? Give feedback.
Bootstrap-Flask has nothing to do with additional JS lib, you can include them directly:
If you use
bootstrap.load_js()
to include the Bootstrap JS lib in your template, load third-party lib after this call: