dev-master
9999999-dev http://github.com/sturple/phileLessAdds support for the LESS CSS pre-processor to Phile
MIT
The Requires
by Shawn Turple
css cms content less phile
Adds support for the LESS CSS pre-processor to Phile
This allows the use of less file(s) to be compiled into css files. This Plugin uses leafo/lessphp as a dependent., (*1)
After Site Development is completed, it is advised to turn off plugin., (*2)
php composer.phar require sturple/phile-less:dev-master
* Install [Phile](https://github.com/PhileCMS/Phile) * Clone this https://github.com/sturple/phileLess repo into `plugins/sturple/phileLess/
``` php
$config['plugins']['sturple\phileLess'] =
array(
'active' =>false,
'formatter' => 'lessjs',
'comments' => false,
'inputFile' => 'assets/css/style.less',
'outputFile' => 'assets/css/style.css',
);, (*3)
```, (*4)
Option | Values | Description |
---|---|---|
formatter | {lessjs \ | compressed | classic} | See documentation |
comments | {true \ | false} | Leave Comments |
inputFile | Path and File | Relative Path to the Current Theme |
outputFile | Path and File | Relative Path to the Current Theme |
Adds support for the LESS CSS pre-processor to Phile
MIT
css cms content less phile