yangshihe/yii2-zui
Composer 安装命令:
composer require yangshihe/yii2-zui
包简介
The ZUI extension for the Yii framework
README 文档
README
版本2还尚未发布 一个基于Yii2 + Bootstrap => ZUI 定制开源前端实践.
第二次规划, 放弃第一版的更新;
ZUI项目网站: http://zui.sexy/ 。
描述
- 轻量级整合;
- 易于定制,有多个版本供选择,主要版本包含大部分特性,额外的内容按需加载。
- 一般还是不要安装这个, 这是一个 个人使用的扩展,其他人若要使用需要重新生产。
安装
Either run
$ composer require yangshihe/yii2-zui
or add
"yangshihe/yii2-zui": "^1.5"
to the require section of your composer.json file.
配置相关
app/AppAsset.php; class AppAsset extends AssetBundle { public $depends = [ 'yangshihe\zui\ZuiAsset', ]; }
控制器 取消原生态的 BootstrapAsset
public function init() { parent::init(); Yii::$app->assetManager->bundles = [ 'yii\bootstrap\BootstrapAsset' => [ 'css' => [], ], 'yii\bootstrap\BootstrapPluginAsset' => [ 'js' => [], ], 'yii\bootstrap\BootstrapThemeAsset' => [ 'css' => [], ] ]; }
Demo
暂无
其他
等待下一次更新,更多的在挂件目录,头部一般含有使用方式
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-22