кто-нибудь с этим уже сталкивался?
AppAsset.php
Код: Выделить всё
<?php
namespace app\components;
use yii\web\AssetBundle;
/**
* Class AppAsset
* @package app\components
*/
class AppAsset extends AssetBundle
{
/** @var string */
public $basePath = '@webroot';
/** @var string */
public $baseUrl = '@web';
/** @var array */
public $css = [
'styles/qwe.styl'
];
/** @var array */
public $js = [];
/** @var array */
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
];
}
Код: Выделить всё
'converter' => [
'class' => 'yii\web\AssetConverter',
'commands' => [
'styl' => ['css', 'stylus {from}']
]
]