dev-master
9999999-devYii2 assets compiler
MIT
The Requires
by Singrana
extension yii2 assets less
Yii2 assets compiler
Yii2 assets compiler Currently support less, (*1)
change less compiler "leafo/lessphp" to "oyejorge/less.php" for support bootstrap less, (*2)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer.phar require --prefer-dist singrana/yii2-assetconverter "*"
or add, (*5)
"singrana/yii2-assetconverter": "*"
to the require section of your composer.json
file., (*6)
Add or modify your Yii2 application config, (*7)
'components' => [ 'assetManager' => [ 'converter' => [ 'class' => 'singrana\assetConverter\Converter', ], ... ], ... ];
after this, you can usage in you bundles, for example:, (*8)
public $css = [ 'css/style.less', ];
Yii2 assets compiler
MIT
extension yii2 assets less