dimanche 2 octobre 2022

Laravel modular not routes with module

I am using "artem-schander/l5-modular": "^2.1" in laravel 6 . Package successfully installed. Also created a module name Employee. when I hit url like

<a href="" >Employee</a>

route (App/Modules/Employee/web.php)

Route::group(['module' => 'Employee', 'middleware' => ['auth'], 'namespace' => 'App\Modules\Employee\Http\Controllers'], function () {

     Route::get('employee-list', 'EmployeeController@welcome');
});

It shows 404 Not Found . How can I link it with module route ?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/yQloDke
via IFTTT

Aucun commentaire:

Enregistrer un commentaire