skip to Main Content

Laravel Inertia Vue

I`m new to laravel and i try to do a crud tutorial but donesn t work the update method. This is the controller public function update(UserRequest $request, User $user) { $avatar = $user->avatar; if(Request::file('avatar')){ Storage::delete('public/'. $user->avatar); $avatar = Request::file('avatar')->store('users', 'public');…

VIEW QUESTION

Laravel route with inertia and slash route

I installed and configured the inertia on my laravel app and wanted to create also an admin along with the already established single page functionality on my app and wanted to group it under /admin Route::prefix('/admin')->group(function(){ Route::get('/login',[AdminController::class, 'login'])->name('admin.login'); }); the…

VIEW QUESTION
Back To Top
Search