Answer the question
In order to leave comments, you need to log in
How to get the variables of the main template when displaying the child?
Hello. Tell. There are layouts, let's say a cabinet of such a structure:
<div id="user-dashboard" class="row">
<aside id="left-sidebar" class="col s12 m3 l2">
@include('includes.user-left-sidebar')
</aside>
<div id="content" class="col s12 m9 l7">
<div class="row">
@yield('content')
</div>
</div>
<aside id="right-sidebar" class="col s12 m3 l3">
@include('includes.user-right-sidebar')
</aside>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question