Fanstatic packaging of deform_bootstrap
This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.deform_bootstrap) are published to some URL.
js.deform_bootstrap is different from most js. packages in that it doesn’t include any resources itself. It references the resources from deform_bootstrap instead.
To use this package in Pyramid you have to include the following packages:
deform_bootstrap js.deform js.deform_bootstrap
js.deform_bootstrap must be included after js.deform as it overrides some parts of its configuration.
You can import deform_bootstrap_js from js.deform_bootstrap and need it where you want these resources to be included on a page:
>>> from js.deform_bootstrap import deform_bootstrap_js >>> deform_bootstrap_js.need()