ayrozjlc/yii2-adminlte3-asset
Composer 安装命令:
composer require ayrozjlc/yii2-adminlte3-asset
包简介
AdminLTE3 backend theme asset bundle for Yii 2.0 Framework
关键字:
README 文档
README
Template UI for Yii2 Framework, based on AdminLTE3
AdminLTE is a fully responsive administration template. Based on Bootstrap 4 framework.
Highly customizable and easy to use. Fits many screen resolutions from small mobile devices to large desktops.
Installation
Composer
composer require ayrozjlc/yii2-adminlte3-asset
or add
"ayrozjlc/yii2-adminlte3-asset": "dev-master",
to the require section of your composer.json file.
Quick Start
- In view (for example:
@app/views/layouts/main.php)
// ... use ayrozjlc\adminlte3\AdminLte3Asset; // ... AdminLte3Asset::register($this);
or add to your assets/AppAsset.php
public $depends = [ // ... 'ayrozjlc\adminlte3\AdminLte3Asset', ];
Preview
- You can have a preview by reconfiguring the path mappings of the view component:
'components' => [ 'view' => [ 'theme' => [ 'pathMap' => [ '@app/views' => '@vendor/ayrozjlc/yii2-adminlte3-asset/src/yii2-app' ], ], ], ],
Assets
- Example in view
use ayrozjlc\adminlte3\assets_extra\IcheckAsset; IcheckAsset::register($this);
or add to your assets/AppAsset.php
public $depends = [ 'ayrozjlc\adminlte3\assets_extra\PaceAsset', 'ayrozjlc\adminlte3\assets_extra\IcheckAsset', 'ayrozjlc\adminlte3\assets_extra\DataTablesAsset', 'ayrozjlc\adminlte3\assets_extra\DataTablesBootstrapAsset', ];
Widgets
-
Menu
-
ActionColumn
-
Alert
-
Datatables
-
example(menu)
ayrozjlc\adminlte3\widgets\Menu::widget([ 'items' => [ 'label' => 'menu', 'url' => ['/site/index'], 'icon' => 'users' //$iconClassPrefix = 'fas fa-' ], 'itemOptions' => ['class' => 'nav-item'], ]);
Credits
统计信息
- 总下载量: 110
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2019-12-07