Dashboards
Overview
Dashboards show widgets that arrive after the page, with skeletons in their place.
Dashboard shows the widgets from Panel::widgets(). It paints at once, and the widgets arrive after with skeletons in their place.
php artisan make:xelqun-widget OrderStats --stats
$panel->pages([Dashboard::class])->widgets([OrderStats::class, OrdersChart::class]);


| Widget | For |
|---|---|
| StatsOverview | A row of numbers |
| ChartWidget | Line, bar and doughnut charts |
| ListWidget, TileWidget | Rows, and a grid of small cards |
| TableWidget | A full table |
| Widget | Your own Vue component |
Size and order
Set $columnSpan (out of 12), $sort and $heading, and override canView() to hide one.