Replies: 1 comment 1 reply
|
Hi there! Even though this question has been open for a while, I wanted to provide an updated solution for modern Flask (using the standard To serve local Bootstrap files in Flask, place your CSS and JS assets inside your project's <!-- In your HTML template -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script> |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
是一个新手
##1只能在CDN中进行使用,不知道本地引入bootstrap出现什么问题了
All reactions