I’ve seen this in “Rendering Components”, in the “Full-Page Components” section
I havent’t understood what “->section(‘body’);” means… Where do I have to set @section(‘body’) and where @yield(‘body’)?
Then… I have this strange behaviour (at least for me):
If I set
in my layout, the entire component is displayed in the position where I set @yield(‘content’). It’s strange because the LW component hasn’t @section(‘content’).
It looks like the LW component has a default name and it is ‘content’.
I’m a beginner, sorry if it is a too simple thing!