This my Web Route
Route::group(
[
'prefix' => LaravelLocalization::setLocale(),
'middleware' => [ 'localeSessionRedirect', 'localizationRedirect', 'localeViewPath']
], function(){
Route::group(['prefix' => 'admin'], function () {
Route::get('/', 'AdminController@index')->name('admin.index');
Route::get('/adminlogin', 'AdminControllers\AdminLoginController@index')->name('adminlogin');
Route::post('/adminPostLogin', 'AdminControllers\AdminLoginController@login')->name('adminPostLogin');
When I try to do something in Liveware this give like this error!!!
Failed to load resource: the server responded with a status of 404 (Not Found)
But when I commented middleware , Liveware is working, so what I should do pls give advise!!!
It is working I just add this code inside Web
Route::post('livewire/message/{name}', '\Livewire\Controllers\HttpConnectionHandler');