livewire: Volt entfernt — Komponenten als Livewire-4-Single-File-Components, Route::livewire(), Livewire::test(); livewire/volt deinstalliert
- 83 Komponenten: Livewire\Volt\Component → Livewire\Component
- 73 Routen (admin, auth, customer): Volt::route() → Route::livewire()
- 88 Testdateien: Volt::test/actingAs → Livewire::test/actingAs
- VoltServiceProvider gelöscht; composer remove livewire/volt
- config/livewire.php auf v4-Schlüssel (component_layout, component_placeholder,
component_locations, make_command: SFC ohne ⚡). Der alte Schlüssel layout war
wirkungslos; alle gerouteten Komponenten setzen ihr Layout selbst.
- CLAUDE.md, AGENTS.md, boost.json, .cursorrules, Skill volt-development
- Roadmap: erledigt; Larastan erfasst SFCs weiterhin nicht (Blade-Dateien)
Suite 2.325 grün, einer übersprungen; Larastan und Pint ohne Meldung;
route:cache und view:cache laufen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5782297dca
commit
2cde7284a1
186 changed files with 889 additions and 1075 deletions
|
|
@ -6,12 +6,11 @@ use App\Http\Controllers\Auth\MagicLinkConsumeController;
|
|||
use App\Http\Controllers\Auth\VerifyEmailController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Laravel\Fortify\Http\Controllers\AuthenticatedSessionController;
|
||||
use Livewire\Volt\Volt;
|
||||
|
||||
// Fortify-Routen für Authentifizierung mit Livewire
|
||||
Route::group(['middleware' => config('fortify.middleware', ['web'])], function () {
|
||||
// Login mit Livewire
|
||||
Volt::route('/login', 'auth.login')
|
||||
Route::livewire('/login', 'auth.login')
|
||||
->middleware(['guest:'.config('fortify.guard')])
|
||||
->name('login');
|
||||
|
||||
|
|
@ -24,7 +23,7 @@ Route::group(['middleware' => config('fortify.middleware', ['web'])], function (
|
|||
|
||||
// Anmeldung per E-Mail-Link (Magic-Link): zusammengeführte Seite für
|
||||
// Bestandskonten UND hinterlegte Pressekontakte ohne Account (WS-2).
|
||||
Volt::route('/anmeldelink', 'auth.magic-link')
|
||||
Route::livewire('/anmeldelink', 'auth.magic-link')
|
||||
->middleware(['guest:'.config('fortify.guard')])
|
||||
->name('magic-link.request');
|
||||
|
||||
|
|
@ -41,22 +40,22 @@ Route::group(['middleware' => config('fortify.middleware', ['web'])], function (
|
|||
->name('oauth.google.callback');
|
||||
|
||||
// Registrierung mit Livewire
|
||||
Volt::route('/register', 'auth.register')
|
||||
Route::livewire('/register', 'auth.register')
|
||||
->middleware(['guest:'.config('fortify.guard')])
|
||||
->name('register');
|
||||
|
||||
// Passwort vergessen mit Livewire
|
||||
Volt::route('/forgot-password', 'auth.forgot-password')
|
||||
Route::livewire('/forgot-password', 'auth.forgot-password')
|
||||
->middleware(['guest:'.config('fortify.guard')])
|
||||
->name('password.request');
|
||||
|
||||
// Passwort zurücksetzen mit Livewire
|
||||
Volt::route('/reset-password/{token}', 'auth.reset-password')
|
||||
Route::livewire('/reset-password/{token}', 'auth.reset-password')
|
||||
->middleware(['guest:'.config('fortify.guard')])
|
||||
->name('password.reset');
|
||||
|
||||
// E-Mail-Verifizierung: Notice-/Danke-Seite (Volt)
|
||||
Volt::route('/verify-email', 'auth.verify-email')
|
||||
Route::livewire('/verify-email', 'auth.verify-email')
|
||||
->middleware(['auth:'.config('fortify.guard')])
|
||||
->name('verification.notice');
|
||||
|
||||
|
|
@ -81,12 +80,12 @@ Route::group(['middleware' => config('fortify.middleware', ['web'])], function (
|
|||
|
||||
// 2FA-Challenge-Seite (Volt-Frontend für Fortifys two-factor-challenge);
|
||||
// der eigentliche POST geht an Fortifys Controller.
|
||||
Volt::route('/two-factor-challenge', 'auth.two-factor-challenge')
|
||||
Route::livewire('/two-factor-challenge', 'auth.two-factor-challenge')
|
||||
->middleware(['guest:'.config('fortify.guard')])
|
||||
->name('two-factor.challenge');
|
||||
|
||||
// Passwort bestätigen mit Livewire
|
||||
Volt::route('/confirm-password', 'auth.confirm-password')
|
||||
Route::livewire('/confirm-password', 'auth.confirm-password')
|
||||
->middleware(['auth:'.config('fortify.guard')])
|
||||
->name('password.confirm');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue