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.
32 lines
485 B
32 lines
485 B
7 years ago
|
<?php
|
||
|
/**
|
||
|
* Created by Error202
|
||
|
* Date: 11.07.2018
|
||
|
*/
|
||
|
|
||
|
namespace backend\components\menu\assets;
|
||
|
|
||
|
|
||
|
use yii\web\AssetBundle;
|
||
|
|
||
|
class MenuAsset extends AssetBundle
|
||
|
{
|
||
|
public $sourcePath = '@backend/components/menu';
|
||
|
public $css = [
|
||
|
'css/menu.css',
|
||
|
];
|
||
|
|
||
|
public $js = [
|
||
|
'js/jquery.nestable.js',
|
||
|
'js/menu.js'
|
||
|
];
|
||
|
|
||
|
public $depends = [
|
||
|
'yii\web\YiiAsset',
|
||
|
'yii\bootstrap\BootstrapPluginAsset',
|
||
|
];
|
||
|
|
||
|
public $publishOptions = [
|
||
|
'forceCopy' => YII_ENV_DEV ? true : false,
|
||
|
];
|
||
|
}
|