daxslab/yii2-coreui
Composer 安装命令:
composer require daxslab/yii2-coreui
包简介
CoreUi for Yii2
README 文档
README
Yii2 extension includind the base layout for CoreUI admin dashboard
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist daxslab/yii2-coreui "*"
or add
"daxslab/yii2-coreui": "*"
to the require section of your composer.json file.
Usage
Make your module or controller layout to be @daxslab/coreui/views/layouts/main.php by modifiying the layout attribute.
Also you can make your @app/views/layouts/main.php to look like:
<?php $this->beginContent('@daxslab/coreui/views/layouts/main.php') ?> <?= $content ?> <?php $this->endContent() ?>
Consider that there a a group of variables at the beginning of @daxslab/coreui/views/layouts/main.php that you can set
to specify brand icons, menu contents, etc.
统计信息
- 总下载量: 445
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-01-27