johnsnook/yii2-sbadmin
Composer 安装命令:
composer require johnsnook/yii2-sbadmin
包简介
A Bootstrap 4 admin template theme for Yii2
关键字:
README 文档
README
A Bootstrap 4 admin template theme for Yii2. Developed for a Yii2 advanced installation, but should work fine with a basic install.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist johnsnook/yii2-sbadmin "~1.0.0"
or add
"johnsnook/yii2-sbadmin": "~1.0.0"
to the require section of your composer.json file.
Minimum stability should be changed from 'stable' to dev
"minimum-stability": "dev",
And since we're using Bootstrap 4, change the yii2-bootstrap line to
"yiisoft/yii2-bootstrap": "~2.1.0"
````
Usage
-----
The layout files should be copied from @vendor/johnsnook/sbadmin/example-layouts to backend/views/layouts where you can modify them to your hearts content. navigation.php will probably be your main focus.
Obviously in progress, I started work on 4/3/2018.
To enable the example pages add this to your config/main.php at the top level
'controllerMap' => [ 'sbadmin' => 'johnsnook\sbadmin\controllers\SbAdminController', ],
统计信息
- 总下载量: 107
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-03