Is there any way to use the @extend functionality but pass a string rather than a file that contains the layout?
I'm wanting to store the layouts in the database and can't figure out a good way to extend layouts w/o using a file.
@extends("<html><head></head><body>@yield('content')</body></html>")
@section('content')
<p>Text here</p>
@endsection
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community