© 2026 Hedgehog Software, LLC
The GET method is not supported when for route Livewire/upload-file.
php artisan serve to serve
# images Forms\Components\FileUpload::make('images') ->label('Upload images of the recipe') ->helperText('Drag & drop multiple images at once') // ->disk('public') // ->visibility('public') ->reactive() ->acceptedFileTypes(['image/*']) ->multiple() ->maxSize(10240) # 10MB file limit ->maxFiles(5) ->minFiles(1) ->directory('recipe-images') ->saveRelationshipsUsing(function ($component, $state, $record) { foreach ($state as $filePath) { $record->images()->create([ 'path' => $filePath ]); } })->columnSpanFull() ->required()