Skip to content

Instantly share code, notes, and snippets.

@rootchips
Created May 21, 2020 02:25
Show Gist options
  • Save rootchips/43641bacaa01f664f7eb51636f180573 to your computer and use it in GitHub Desktop.
Save rootchips/43641bacaa01f664f7eb51636f180573 to your computer and use it in GitHub Desktop.
app.html
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'PE Mall') }}</title>
<script src="{{ mix('js/app.js') }}" defer></script>
<!-- Fonts -->
<link rel="dns-prefetch" href="//fonts.gstatic.com">
<link rel="stylesheet" href="{{ mix('css/app.css') }}">
@routes
</head>
<body class="class1"> // kat sini akan switch
@spa
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment