I'm using a Laravel app with an external public directory, e.g. root/Laravel
, and root/html/public
.
I need this app to load from a require on an php file that already has another framework(root/html/this-section.php
), hence that other fw has its own head, and body tag. This app will load between the header and footer of that index.
In my blade layout.app file, i have
@section('stylesheets')
<link rel="stylesheet" href="/this-section/css/vendors.css">
<link rel="stylesheet" href="/this-section/css/app.css">
@show
<div id="main">
@include('layouts.sidebar')
@include('layouts.header')
<section>
@yield('content')
</section>
</div>
The issue I'm having is if no my app layout, when I delete the head and body tags during testing, which is what i need, the blade system, or what i dont know, is still creating an empty head tag set, <head></head>
, then when i enable the stylesheets section, it ends up in that <head>
tag.
Expected: The head tag should not be there. I don't want a head tag. What in laravel can i adjust to remove this auto creation of head (and body
)?