这是我的路线档案:
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
Route::get('/', function () {
return view('pages.home');
});
Route::auth();
查看结构:
答案 0 :(得分:1)
我发现了我的问题。我之前没有注意到这一点,但我在PhpStorm中的项目被保存到VM外的目录中。我为之前没有弄清楚而道歉。