fix: restore route('home'), remove dashboard Blade route, load iconify in SPA
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,11 +2,7 @@
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::middleware(['auth', 'verified'])->group(function (): void {
|
||||
Route::view('dashboard', 'dashboard')->name('dashboard');
|
||||
});
|
||||
|
||||
require __DIR__.'/settings.php';
|
||||
|
||||
// SPA catch-all — must be last
|
||||
Route::get('/{any}', fn () => view('app'))->where('any', '.*')->name('spa');
|
||||
Route::get('/{any}', fn () => view('app'))->where('any', '.*')->name('home');
|
||||
|
||||
Reference in New Issue
Block a user