laravel-template/resources/views/index.blade.php

29 lines
688 B
PHP
Raw Normal View History

2023-11-01 02:56:35 +00:00
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8"/>
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
<meta name="format-detection" content="telephone=no"/>
<title>{{ config('app.display_name') }}</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
@vite(['resources/css/app.css', 'resources/js/app.ts'])
<script>
window.app = {!! json_encode([
'name' => config('app.display_name', config('app.name')),
'user' => auth()->user(),
]) !!};
</script>
</head>
<body>
<div id="app"></div>
</body>
</html>