Flask: where to put static javascript files in templates
问题 I'm developing a flask app with the following folder structure: |-->flask_app.py |-->static |-->css |-->bootstrap.min.css |-->styles.css |-->js |-->jquery-3.1.1.min.js |-->bootstrap.min.js |-->script.js |-->templates |-->index.html What is the proper way to link to these css and js files in index.html and what parameters do I need associated with them? My CSS links look like this and are located in the header: <link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">