feat: add SPA Blade shell and catch-all route

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ovidiu U
2026-04-10 17:57:54 +01:00
parent acaa791eda
commit 05b5d1f3b3
3 changed files with 39 additions and 0 deletions

View File

@@ -7,3 +7,6 @@ Route::middleware(['auth', 'verified'])->group(function (): void {
});
require __DIR__.'/settings.php';
// SPA catch-all — must be last
Route::get('/{any}', fn () => view('app'))->where('any', '.*')->name('spa');