Laravel 8: How to IGNORE a file which is imported to app.blade.php

  laravel, laravel-8, php

The body of my app.blade.php contains this:


    <section class="container">


    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.bundle.js"></script>

And I extends this at all my blades, but I want the landing page of website to ignore footer.blade.php from app.blade.php which is this one:


So how can I do that? Should I just manually include the footer directly at the blades or there is a way to ignore one of the included files of app.blade.php ?

Source: Laravel

Leave a Reply