Skip to content

Commit

Permalink
serve examples locally for faster and offline development
Browse files Browse the repository at this point in the history
  • Loading branch information
PanderMusubi committed Jan 18, 2025
1 parent ac1f3c0 commit 441747e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Changelog
=========

- Serve examples locally for faster and offline development.
- Upgrade to Bootstrap Icons 1.11.3.


Expand Down
3 changes: 3 additions & 0 deletions examples/bootstrap4/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 3 additions & 0 deletions examples/bootstrap5/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 441747e

Please sign in to comment.