|
- <?php
-
-
- namespace frontend\assets;
-
- use yii\web\AssetBundle;
- use yii ;
-
-
-
- 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() ;
-
-
- $this->addAsset('css','css/screen.css');
-
-
- $this->addAsset('js','js/frontend.js');
- }
- }
|