Move components inside folders
Signed-off-by: Andrea Pavone <info@andreapavone.com>
This commit is contained in:
@ -6,9 +6,11 @@ use Illuminate\Support\Facades\Route;
|
||||
use Inertia\Inertia;
|
||||
|
||||
Route::get('/', function () {
|
||||
return redirect('/dashboard');
|
||||
return Inertia::render('Home');
|
||||
});
|
||||
|
||||
Route::get('/dashboard', function () {
|
||||
return Inertia::render('Dashboard');
|
||||
Route::get('/report/{page}/dashboard', function (int $page = 0) {
|
||||
return Inertia::render('Dashboard', [
|
||||
'page' => $page
|
||||
]);
|
||||
})->name('dashboard');
|
||||
|
||||
Reference in New Issue
Block a user