return view('pages.root') 错了
app.blade.php中的@include(‘shared._messages’)也是要改@include(‘layouts.shared._messages’)
推荐文章: