|
- <?php
-
-
- namespace backend\assets;
-
- use yii\web\AssetBundle;
- use yii ;
-
-
- class VuejsDistributionIndexAsset extends \common\components\MyAssetBundle
- {
- public $basePath = '@webroot';
- public $baseUrl = '@web';
- public $css = [];
- public $js = [];
- public $depends = [
- 'common\assets\CommonAsset',
- 'backend\assets\AppAsset',
- ];
-
- public function __construct()
- {
- parent::__construct() ;
- $this->addAsset('js','js/vuejs/distribution-index.js') ;
- }
- }
|