initialization.assets#

Functions#

init_assets(app)

Main entry point of the module.

Module Contents#

initialization.assets.init_assets(app)[source]#

Main entry point of the module.

Initializes Flask-Assets for the Flask app by collecting JavaScript and CSS files for compilation and bundling.

The source JS and CSS files are in app/view, so all paths in this function are described relative to the “static/” directory at the root, which holds the compiled CSS and JS bundles.