Tuesday, 9 July 2019

107.laravel layout

https://www.cloudways.com/blog/create-laravel-blade-layout/

  1. <!doctype html>
  2. <html>
  3. <head>
  4. @include('includes.head')
  5. </head>
  6. <body>
  7. <div class="container">
  8. <header class="row">
  9. @include('includes.header')
  10. </header>
  11. <div id="main" class="row">
  12. @yield('content')
  13. </div>
  14. <footer class="row">
  15. @include('includes.footer')
  16. </footer>
  17. </div>
  18. @stack('scripts')
  19. </body>
  20. </html>

No comments:

Post a Comment