diff --git a/CHANGES.rst b/CHANGES.rst index 9e02600..f99800b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,7 @@ Changelog ========= +- Serve examples locally for faster and offline development. - Upgrade to Bootstrap Icons 1.11.3. diff --git a/examples/bootstrap4/app.py b/examples/bootstrap4/app.py index 2a3bbd5..4a0b633 100644 --- a/examples/bootstrap4/app.py +++ b/examples/bootstrap4/app.py @@ -14,6 +14,9 @@ app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///:memory:' +# serve locally for faster and offline development +app.config['BOOTSTRAP_SERVE_LOCAL'] = True + # set default button sytle and size, will be overwritten by macro parameters app.config['BOOTSTRAP_BTN_STYLE'] = 'primary' app.config['BOOTSTRAP_BTN_SIZE'] = 'sm' diff --git a/examples/bootstrap5/app.py b/examples/bootstrap5/app.py index acb85b2..b7a797f 100644 --- a/examples/bootstrap5/app.py +++ b/examples/bootstrap5/app.py @@ -14,6 +14,9 @@ app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///:memory:' +# serve locally for faster and offline development +app.config['BOOTSTRAP_SERVE_LOCAL'] = True + # set default button sytle and size, will be overwritten by macro parameters app.config['BOOTSTRAP_BTN_STYLE'] = 'primary' app.config['BOOTSTRAP_BTN_SIZE'] = 'sm'