首页 > laravel 错误: View [common.header] not found. !

laravel 错误: View [common.header] not found. !

这个我的views的目录结构:
访问index可以啊,但是访问了apply就出错了,不是继承了一个base吗?

都是@extends('pc.base')

然后:

 <!--start-home-->
    @include('pc.common.header')

    @section('main')
    @show
        
    @include('pc.common.footer')

    @include('pc.common.fixer')

访问apply就出错了:


common中肯定不存在 header.blade.php文件 添加上即可


查看路径对不对


common文件夹里面有header.blade.php吗?


楼上说的对,看看路径中有没有文件,或是文件的路径写的不对!

【热门文章】
【热门文章】