ayrozjlc/yii2-adminlte3-asset 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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. "AdminLTE Presentation"

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2019-12-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固