Home > OS >  I cannot routes cache when Laravel File Manager in routes
I cannot routes cache when Laravel File Manager in routes

Time:10-20

I cannot use route:cache in my Laravel app when Laravel File Manager in my routes.

My routes setting:

Route::group(['prefix' => 'laravel-filemanager', 'middleware' => ['web', 'auth', 'role:owner|admin']], function () { \UniSharp\LaravelFilemanager\Lfm::routes(); });

Then my error when i use route:cache in terminal terminal screenshoot

Please Help me

CodePudding user response:

You can disable use_package_routes inside config/lfm it will solve your problem.

  • Related