0
我正在使用Xampp作为服务器。出于某种原因,我无法让我的路线正常工作。未找到Laravel路线
Route::get('/', function() {
return "hello";
});
Route::get('about', function() {
return "Hello World";
});
当我导航到localhost/laravel/laravel/public /时,我得到页面上写着“Hello”。
,当我浏览到localhost/laravel/laravel /公/约我得到一个错误说:
“对不起,您要找的页面无法找到NotFoundHttpException在RouteCollection.php行161:。”
这不工作davejal。 – john23
在该服务器上完美工作。 XAMPP问题? – john23
你是怎么安装的? – davejal