yii2Asset management


Syntax

  • the depended assets will be loaded before this assets in given order
    • public $depends = [ 'yii\web\YiiAsset', 'yii\bootstrap\BootstrapAsset', 'yii\bootstrap\BootstrapPluginAsset', 'cinghie\fontawesome\FontAwesomeAsset', ];

Remarks

this example is based on the advanced template https://github.com/yiisoft/yii2-app-advanced

The cinghie asset in this example is the asset package for adminLTE https://github.com/cinghie/yii2-admin-lte