|
- <?php
-
-
- namespace producer\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 = [
- ];
-
- public function __construct() {
- parent::__construct() ;
-
-
- $this->addAsset('css','css/screen.css');
-
-
- $this->addAsset('js','js/producer.js');
- }
- }
|