* @since 2.0 */ class AppAsset extends \common\components\MyAssetBundle { public $basePath = '@webroot'; public $baseUrl = '@web'; public $css = []; public $js = []; public $depends = [ 'yii\bootstrap\BootstrapPluginAsset', ]; public function __construct() { parent::__construct() ; // css $this->addAsset('css','css/screen.css'); // js $this->addAsset('js','js/frontend.js'); } }