(1)、首先在app\Http\routes.php中定义路由; Route::get('view','ViewController@view'); Route::get('article','ViewController@article'); Route::get('layout','ViewController@layout'); (2)、然后在Http\Controllers\ViewController.php中写入方法; public function view(){ return view('index'); } public function articl