helloflask / bootstrap-flask

Bootstrap 4 & 5 helper for your Flask projects.

Home Page:https://bootstrap-flask.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Bootstrap 5 support

realJustinLee opened this issue · comments

Also don't forget about that:
thomaspark/bootswatch#1056

Will it break anything if we just commit changes to the master branch?

I'll work on this issue next month. Here are some initial ideas:

  • I will try to make the Bootstrap 5 support happened in the same project.
  • Provide a Bootstrap5 extension class, it has different resources methods for Bootstrap 5.
from flask_bootstrap import Bootstrap5

bootstrap = Bootstrap5()
  • Add new versions of macros in a new bootstrap5 folder:
{% from 'bootstrap5/forms.html' import render_form %}

The initial support for Bootstrap 5 was added (#161), the macros upgrade progress is in #162.