Skip to content

Instantly share code, notes, and snippets.

@calcio
Created December 18, 2017 23:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calcio/9039769d890754d6331a066943260355 to your computer and use it in GitHub Desktop.
Save calcio/9039769d890754d6331a066943260355 to your computer and use it in GitHub Desktop.
Asset bundle do módulo admin
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace app\assets;
use yii\web\AssetBundle;
/**
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class AdminAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
'css/site.css',
];
public $js = [
];
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment