这是一个 laravel-admin
扩展,为 laravel-admin
应用 AdminLTE3 主题。
laravel-admin >= 1.6.9
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' => ''
]
]
]
强制刷新后查看效果
Licensed under The MIT License (MIT).