Build blank page in laravel
hello everyone,
I whould build a new page blank for a new project.
I try generated new build with https://preview.keenthemes.com/open-html-pro/layout-builder.html and rename all page with ".blade.html" but it not a laravel page. I can build new page for my new Laravel projet with what ?
Best regards.
Replies (3)
Hi PERONET KEVIN
You can rename all the partials files to .blade.php and then replace the file path comment with Laravel's @include directive to include the view. For example, a partial named header.html, you would rename it to header.blade.php and then include it in your Blade template like this:
@include("header") Make sure to place the partial files in the appropriate directory within your resources/views folder. This way, you can use Laravel's Blade templating engine to include partials in your views.
This is a basic example to get you started. You can further customize your blank page by adding styles, scripts, or any other content you need for your project.
Hi
Thank you for your response.
I understand that i should use your builder pages and re-include link code Laravel and rename my file.
it okay for me.
thank you.