Class app\assets\AppAsset

Inheritanceapp\assets\AppAsset » dmstr\web\AssetBundle » yii\web\AssetBundle
Available since version4.0

Configuration for backend client script files.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
init() Initializes asset bundle with optional CSS/LESS development settings dmstr\web\AssetBundle

Property Details

$css public property
public $css = ['less/app.less']
$depends public property
public $depends = ['yii\web\YiiAsset''yii\bootstrap\BootstrapPluginAsset''yii\bootstrap\BootstrapAsset']
$js public property
public $js = ['js/app.js']
$sourcePath public property
public $sourcePath '@app/assets/web'