<?php

declare(strict_types=1);

/** @maestro-core-managed — reset via `php artisan core:install --force` */

/*
|--------------------------------------------------------------------------
| SPA catch‑all (required)
|--------------------------------------------------------------------------
|
| Single global fallback so Maestro CORE API routes (/login, /api/*) match first and Vue
| deep links resolve through your Blade shell. Do not register a second package-level `/{any?}` —
| precedence becomes host-dependent when duplicates exist.
|
*/

use Illuminate\Support\Facades\Route;

Route::get('/{any?}', fn () => view('spa'))->where('any', '.*');
