Answers for "how to link js file to 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
2

where to put js files in flask

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language