Hello,
I have installed Laravel Demo 1 as i noticed the Laravel pack only has demo 1-9. But what i really want is the demo 14, can you guide me on how to go about creating the Demo 14 layout using the HTML partials from the layout builder.
Hi,
To include the partial file in your Laravel project, you can create a folder called layout
inside the resources/views
directory. Eg. resources/views/layout
. You can then place the partial files inside this folder, following the structure of the other demos.
After exporting the partials, rename _default.blade.php to master.blade.php and move it to resources/views/layout/demo14.
In your master.blade.php file, extend the base/base.blade.php file and define the content of the demo14 layout. Here's an example:
@extends("base.base")
@section("content")
// demo14 layout content here
@endsection