The @layout tag allows you define the layout template for the current template.



The template using the layout must define all the markup inside the sections exported by the layout. Any content outside of the @section tag is ignored.

The content for the body section
The content for the footer section

The layout also has to export the sections with the same name.



The @super tag allows you to inherit the existing content of the section. It is an inline tag and does not accept any arguments.

<script src="{{ asset('autocomplete.js') }}"></script>