2017 © Pedro Peláez
 

yii2-extension yii2-less

Yii2 less compiler to assets

image

quangthinh/yii2-less

Yii2 less compiler to assets

  • Saturday, December 30, 2017
  • by tut4ever
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 1 Versions
  • 75 % Grown

The README.md

yii2-less

Yii2 less support, (*1)

Installation

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)

Usage

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', ];

The Versions

30/12 2017

dev-master

9999999-dev

Yii2 less compiler to assets

  Sources   Download

MIT

The Requires

 

by Avatar Singrana

extension yii2 less