name('home'); Route::get('/articles/{id}', function ($id) { return Inertia::render('Articles/Show', [ 'articleId' => (int)$id, ]); }); Route::get('dashboard', function () { return Inertia::render('dashboard'); })->middleware(['auth', 'verified'])->name('dashboard'); require __DIR__ . '/settings.php';