Created
December 18, 2017 23:02
-
-
Save calcio/9039769d890754d6331a066943260355 to your computer and use it in GitHub Desktop.
Asset bundle do módulo admin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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