Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试php artisan route:cache在 lumen 项目中运行时,出现以下错误,
php artisan route:cache
[invalid argument exception] There is not commend defined in the 'route' namespace.
我的路线文件是,
$app->get('/', 'App\Http\Controllers\WebController@index');
任何想法?
该命令仅存在于 Laravel 中,而在 Lumen 中则不存在。它不是必需的,因为 Lumen 已针对最佳性能进行了优化。
键入php artisan以查看 Lumen 中所有可能的命令。
php artisan