2017 © Pedro Peláez
 

yii2-extension yii2-less

Yii2 less compiler to assets

image

singrana/yii2-less

Yii2 less compiler to assets

  • Wednesday, July 6, 2016
  • by Singrana
  • Repository
  • 1 Watchers
  • 2 Stars
  • 5,695 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 1 Versions
  • 5 % 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

06/07 2016

dev-master

9999999-dev

Yii2 less compiler to assets

  Sources   Download

MIT

The Requires

 

by Avatar Singrana

extension yii2 less