Answers for "how to call js file in flask"

4

html include js file flask

<script type="text/javascript"
         src="{{ url_for('static', filename='map.js') }}"></script>
Posted by: Guest on November-24-2020
0

how to add js in flask

<script src="{{url_for('static', filename='js/modernizr-2.6.2.min.js')}}"></script>
Posted by: Guest on October-05-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language