first
This commit is contained in:
32
app/Admin/Controllers/HomeController.php
Normal file
32
app/Admin/Controllers/HomeController.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Admin\Controllers;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Encore\Admin\Layout\Content;
|
||||
use Encore\Admin\Layout\Row;
|
||||
|
||||
class HomeController extends Controller
|
||||
{
|
||||
public function index(Content $content)
|
||||
{
|
||||
return $content
|
||||
->title('看板')
|
||||
->description('Description...')
|
||||
// ->row(Dashboard::title())
|
||||
->row(function (Row $row) {
|
||||
|
||||
// $row->column(4, function (Column $column) {
|
||||
// $column->append(Dashboard::environment());
|
||||
// });
|
||||
|
||||
// $row->column(4, function (Column $column) {
|
||||
// $column->append(Dashboard::extensions());
|
||||
// });
|
||||
|
||||
// $row->column(4, function (Column $column) {
|
||||
// $column->append(Dashboard::dependencies());
|
||||
// });
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user