Skip to content

hipig/adminlte3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdminLTE3 extension for laravel-admin

这是一个 laravel-admin 扩展,为 laravel-admin 应用 AdminLTE3 主题。

依赖

laravel-admin >= 1.6.9

截图

screenshot1 screenshot2

安装

composer require pigzzz123/adminlte3
php artisan vendor:publish --tag=adminlte

更新

composer update pigzzz123/adminlte3
php artisan vendor:publish --tag=adminlte --force

配置

config/admin.php文件的extensions,加上属于这个扩展的一些配置

'extensions' => [
    'adminlte' => [
        'theme' => [
            /*
            |--------------------------------------------------------------------------
            |Navbar Theme
            |--------------------------------------------------------------------------
            |    "bg-primary", "bg-info", "bg-success", "bg-danger"
            |    "bg-warning", "bg-white", "bg-gray-light"
            */
            
            'navbar'    => 'bg-white',
            
            /*
            |--------------------------------------------------------------------------
            |Sidebar Theme
            |--------------------------------------------------------------------------
            |    "sidebar-dark-primary", "sidebar-dark-warning", "sidebar-dark-info", "sidebar-dark-danger", "sidebar-dark-success"
            |    "sidebar-light-primary", "sidebar-light-warning", "sidebar-light-info", "sidebar-light-danger", "sidebar-light-success"
            */
            
            'sidebar'   => 'sidebar-dark-primary',
            
            /*
            |--------------------------------------------------------------------------
            |LOGO Theme
            |--------------------------------------------------------------------------
            |    "bg-primary", "bg-info", "bg-success", "bg-danger"
            |    "bg-warning", "bg-white", "bg-gray-light"
            */
            
            'logo'      => ''
        ]
    ]
]

使用

强制刷新后查看效果

已知BUG

  • editable 样式错乱

鸣谢

License

Licensed under The MIT License (MIT).