Two improvements have arrived in version 2.1.0:
- LESS is also put on a diet. By default no default styles are pushed by Apostrophe. This was always supposed to happen but was unintentionally omitted in previously relates.
- However, project-level assets configured via the “assets” option to “apostrophe-assets” automatically ARE included, as long as the “when” option is not explicitly used to specify something other than “lean”. This is much more intuitive for those migrating projects to the module.
regmeg for contributing these improvements that make
apostrophe-lean-frontend easier to get started with.
Please note that
apostrophe-lean-frontend is your best migration path to Apostrophe 3.x on the front end! In Apostrophe 3.x,
apos.lean object will become the standard
apos.ui object in the browser and jQuery, lodash, moment, etc. will not be pushed unless you push them yourself.