Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
LESS CakePHP plugin Used to compile LESS CSS code on-the-fly. Combines these two awesome projects: - Asset Compress plugin. (https://github.com/markstory/asset_compress) - LessPHP. (https://github.com/leafo/lessphp) How to setup: 1. Install Asset Compress and make sure it is working 100%. 2. Clone (or add as a submodule) this plugin. 3. Make sure you init and update the /vendors/lessphp submodule. 4. Make your APP/config/asset_compress.ini file look like: [Css] paths = WEBROOT/css/ cachePath = WEBROOT/cache_css/ filters = Less.LessFilter filters = CssMin Enjoy. If you would like to use another version (older/newer) of LessPHP than the one in the one in the submodule, place it in APP/vendors and the processor will use that instead.