Can you be more explicit ? I created a view in my files views /
currently, I have :
return view('home.index') ->with('availabilities', $availabilities) ->with('matches', $matches) ->with('users', $users);
Thanks
From what I understand you want common HTML in various views, right?
You use a smaller view file with the common HTML you want (like a nav bar) then include that in other views using the blade syntax @include('path.to.view')
Is that what you mean?
Yes, but this view also contains data from the database , so, I would have to treat the controller code ?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community