My template are in folder called frontend In this folder, I have folder frontend/layouts with file default.blade.php
This is code in default.blade.php
@include('frontend.includes.head')
@include('frontend.includes.header')
<div id="main-container">
@yield('content')
</div>
@include('frontend.includes.footer')
And I have folder frontend/includes containing header.blade.php head.blade.php and footer.blade.php
My view is in folder frontend/pages, I have my page home.blade.php
@extends('frontend.layouts.default')
@section('content')
@endsection
I have this error after execute
ErrorException (E_ERROR)
View [frontend.includes.footer] not found. (View: C:\wamp64\www\nosrepas\resources\views\frontend\layouts\default.blade.php) (View: C:\wamp64\www\nosrepas\resources\views\frontend\layouts\default.blade.php)
Arguments
"View [frontend.includes.footer] not found. (View: C:\wamp64\www\nosrepas\resources\views\frontend\layouts\default.blade.php) (View: C:\wamp64\www\nosrepas\resources\views\frontend\layouts\default.blade.php) ◀"
Have you an idea?
Thanks
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jBdUII
via IFTTT
Aucun commentaire:
Enregistrer un commentaire