2017 © Pedro Peláez
 

yii2-extension yii2-assetconverter

Yii2 assets compiler

image

singrana/yii2-assetconverter

Yii2 assets compiler

  • Tuesday, June 5, 2018
  • by Singrana
  • Repository
  • 1 Watchers
  • 0 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 200 % Grown

The README.md

yii2-assetConverter

Yii2 assets compiler Currently support less, (*1)

change less compiler "leafo/lessphp" to "oyejorge/less.php" for support bootstrap less, (*2)

Installation

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)

Usage

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

The Versions

05/06 2018

dev-master

9999999-dev

Yii2 assets compiler

  Sources   Download

MIT

The Requires

 

by Avatar Singrana

extension yii2 assets less