Reputation: 1
Route::group([
'prefix' => LaravelLocalization::setLocale(),
'middleware' => ['localeSessionRedirect', 'localizationRedirect', 'localeViewPath']
], function () {
Route::get('/', function () {
return view('welcome');
})->name('home');
require __DIR__ . '/dash.php';
});
My issue is that when I use the camera to capture routes and add a local language, the Livewire update component throws a 404 error for actions like delete or search. However, if I use any route without this package, Livewire works fine. Please help me solve this issue.
Upvotes: 0
Views: 49