- <?php
-
-
- namespace common\assets;
-
- use yii\web\AssetBundle;
- use yii ;
-
-
- class CommonAsset extends \common\components\MyAssetBundle
- {
- public $sourcePath = '@common/web/' ;
- public $css = [];
- public $js = [];
- public $depends = [
- 'yii\bootstrap\BootstrapAsset',
- 'yii\web\YiiAsset',
- ];
-
- public function __construct() {
- parent::__construct() ;
-
-
- $this->addAsset('css','bootstrap/css/bootstrap.min.css') ;
- $this->addAsset('css','js/jquery-ui-1.11.4.custom/jquery-ui.min.css');
- $this->addAsset('css','js/jquery-ui-1.11.4.custom/jquery-ui.theme.css');
- $this->addAsset('css','js/vuejs/vcalendar/vcalendar.min.css') ;
- $this->addAsset('css','css/screen.css') ;
-
-
- $this->addAsset('js','js/jquery-ui-1.11.4.custom/jquery-ui.min.js');
- $this->addAsset('js','js/promise-polyfill/promise.min.js');
- $this->addAsset('js','js/axios/axios.min.js');
- $this->addAsset('js','js/vuejs/vue.js');
- $this->addAsset('js','js/vuejs/vcalendar/vcalendar.min.js') ;
- $this->addAsset('js','js/utils.js') ;
- }
- }
|