-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME
More file actions
executable file
·29 lines (21 loc) · 778 Bytes
/
Copy pathREADME
File metadata and controls
executable file
·29 lines (21 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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.