Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

LESS CSS plugin for CakePHP

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages