Skip to content

Instantly share code, notes, and snippets.

@blenderdeluxe
Created August 20, 2021 01:27
Show Gist options
  • Save blenderdeluxe/aef2bd9b11fa7be65dd72cde2383e582 to your computer and use it in GitHub Desktop.
Save blenderdeluxe/aef2bd9b11fa7be65dd72cde2383e582 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
<!-- Fonts -->
<link rel="dns-prefetch" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css?family=Raleway:300,400,600" rel="stylesheet" type="text/css">
<!-- Styles -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link rel="stylesheet" href="{{ mix('/css/app.css') }}">
</head>
<body>
<div id="app">
<vue-layout></vue-layout>
</div>
<script>
window.Laravel = {!! json_encode([
'csrfToken' => csrf_token(),
'siteName' => 'Cursito',
'apiDomain' => url('api/'),
]) !!}
</script>
<script src="{{ mix('/js/app.js') }}"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment