app.blade.php 704 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html>
  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>@yield('title', 'Laravel Shop') - Laravel 电商教程</title>
  10. <!-- 样式 -->
  11. <link href="{{ mix('css/app.css') }}" rel="stylesheet">
  12. </head>
  13. <body>
  14. <div id="app" class="{{ route_class() }}-page">
  15. @include('layouts._header')
  16. <div class="container">
  17. @yield('content')
  18. </div>
  19. @include('layouts._footer')
  20. </div>
  21. <!-- JS 脚本 -->
  22. <script src="{{ mix('js/app.js') }}"></script>
  23. </body>
  24. </html>