You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
522 B
31 lines
522 B
6 years ago
|
<?php
|
||
|
/**
|
||
|
* Created by Error202
|
||
|
* Date: 11.07.2018
|
||
|
*/
|
||
|
|
||
|
namespace backend\components\form_builder\assets;
|
||
|
|
||
|
|
||
|
use yii\jui\JuiAsset;
|
||
|
use yii\web\AssetBundle;
|
||
|
|
||
|
class FormBuilderAsset extends AssetBundle
|
||
|
{
|
||
|
public $sourcePath = '@backend/components/form_builder';
|
||
|
|
||
|
public $js = [
|
||
|
'js/form-builder.min.js',
|
||
|
'js/form-render.min.js'
|
||
|
];
|
||
|
|
||
|
public $depends = [
|
||
|
'yii\web\YiiAsset',
|
||
|
'yii\bootstrap\BootstrapPluginAsset',
|
||
|
JuiAsset::class,
|
||
|
];
|
||
|
|
||
|
public $publishOptions = [
|
||
|
'forceCopy' => YII_ENV_DEV ? true : false,
|
||
|
];
|
||
|
}
|