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