How to use bootstrap.static with flask-bootstrap -


when use flask-bootstrap, use css/js resources cdn. if access url(http://127.0.0.1) without internet, css or js lost.

how use local resources of flask-bootstrap? such as:

lib/python2.7/site-packages/flask_bootstrap/static/css lib/python2.7/site-packages/flask_bootstrap/static/js 

thanks.

from flask-bootstrap documentation:

bootstrap_serve_local 

if true, bootstrap resources served local app instance every time. see cdn-delivery in flask-bootstrap details.

set true in app's config , files served locally instead of cdn.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -