In layout folder I have a file named "app.blade.php". To render some content from other balde file I wrote in the file
@yield('content')
I created another file in "views/admin" name "dashboard.blade.php". Written code in this file is
@extends('home')
@section('content')
Test text
@endsection
But content doesn't load in "app.blade.php" file thus nothing in
@yield('content') section
What to do?
update this
ref link https://laravel.com/docs/8.x/blade#extending-a-layout