|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <?php
-
-
- namespace backend\assets;
-
- use yii\web\AssetBundle;
- use yii ;
-
-
- class CommonAsset extends \common\components\MyAssetBundle
- {
- public $sourcePath = '@common/web/' ;
- public $css = [];
- public $js = [];
- public $depends = [
- 'yii\web\YiiAsset',
- ];
-
- public function __construct() {
- parent::__construct() ;
-
-
- $this->addAsset('css','bootstrap-icons/font/bootstrap-icons.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/simple-lightbox/simpleLightbox.min.js') ;
- $this->addAsset('js','js/vuejs/vue.js');
- $this->addAsset('js','js/vuejs/vcalendar/v-calendar.umd.min.js') ;
- $this->addAsset('js','js/common.js') ;
- }
- }
|