I am having a problem using Laravel Framework. I am trying to build a layout, but no mater how much I've tried I am getting the same error on my browser :
View [layouts.adminLayout.admin_design] not found. (View:
E:\xampp\htdocs\laravel\ecom2\resources\views\admin\dashboard.blade.php)
m following this tutorial
https://www.youtube.com/watch?v=bzYBu0iez3s
here is code of admin_design.blade.php
@include('layouts.adminLayout.admin_header')
@include('layouts.adminLayout.admin_sidebar')
@yield('content')
@include('layouts.adminLayout.admin_footer')
and this is in dashboard.blade.php
@extends('layouts.adminLayout.admin_design')
@section('content')
this is the code of its controller
public function dashboard(){
return view('admin.dashboard');
}
if i write echo "test"; die;
then it shows die but is not showing the desired page... is there any solution for this prblm
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire