Files
fuel-price/routes/web.php
Ovidiu U 05b5d1f3b3 feat: add SPA Blade shell and catch-all route
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 17:57:54 +01:00

13 lines
325 B
PHP

<?php
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');