|
- <?php
-
-
- namespace backend\assets;
-
- use yii\web\AssetBundle;
- use yii ;
-
-
- class VuejsUserFormAsset 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/user-form.js') ;
- }
- }
|