index.blade.php 770 B

123456789101112131415161718192021222324252627282930313233343536
  1. <!DOCTYPE html>
  2. <html lang="{{ config('app.locale') }}">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- CSRF Token -->
  8. <meta name="csrf-token" content="{{ csrf_token() }}">
  9. <title>{{ config('app.name', 'Laravel') }}</title>
  10. <!-- Styles -->
  11. <link href="{{ asset('css/app.css') }}" rel="stylesheet">
  12. @yield('style')
  13. <script>
  14. window.Laravel = <?php echo json_encode([
  15. 'csrfToken' => csrf_token(),
  16. ]); ?>
  17. </script>
  18. </head>
  19. <body>
  20. <div id="app">
  21. @yield('content')
  22. </div>
  23. <!-- Scripts -->
  24. <script src="{{ asset('js/app.js') }}"></script>
  25. @section('myScript')
  26. @show
  27. </body>
  28. </html>