You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find a workaround for compile also layouts by keeping yields(). It was easy, but not sure if this can make some issue. I tested and seem works fine. But maybe I am introducing some issue. Please let me know what do you think.
I have tested this package for compile my layout file which include too much things.
However the result was not as expected.
But commenting method
implodeLayout()
worked fine, this:Without this the main yield('content') is replaced by:
{{--yield didnt have alternative--}}
Is not designed for works also with layouts?
If I try to compile a view that extends a layout, also not works, this is the result (most part are removed):
As you can see yield('content') is removed and the view compiled is on top and not inside content.
Maybe this works only with partials views?
Then I wonder why is added this php code for each included file:
<?php extract([]); ?>
Thanks
The text was updated successfully, but these errors were encountered: