Skip to content

Best way to integrate additional javascript libraries #250

Closed Answered by greyli
jhudson10x asked this question in Q&A
Discussion options

You must be logged in to vote

Bootstrap-Flask has nothing to do with additional JS lib, you can include them directly:

... load Bootstrap JS ...
<script src="/path/to/autocomplete.js"></script>

If you use bootstrap.load_js() to include the Bootstrap JS lib in your template, load third-party lib after this call:

{{ bootstrap.load_js() }}
<script src="/path/to/autocomplete.js"></script>

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by PanderMusubi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants