pipa7/yii2-admin-bsb-material-design
Composer 安装命令:
composer require pipa7/yii2-admin-bsb-material-design
包简介
Asset Bundle for AdminBSB - Material Design
README 文档
README
Asset Bundle for AdminBSB - Material Design
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist pipa7/yii2-admin-bsb-material-design "*"
or add
"pipa7/yii2-admin-bsb-material-design": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply edit the file in assets/AppAsset.php and add the following line in $depends: a
'pipa7\adminbsb\assets\ThemeAsset'
Should stay like this:
<?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 AppAsset extends AssetBundle { public $basePath = '@webroot'; public $baseUrl = '@web'; public $css = [ 'css/site.css', ]; public $js = [ ]; public $depends = [ 'yii\web\YiiAsset', 'yii\bootstrap\BootstrapAsset', 'pipa7\adminbsb\assets\ThemeAsset' ]; }
=======
yii2-admin-bsb-material-design
Yii2 AdminBSB - Material Design
统计信息
- 总下载量: 375
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-23