- Update Vite config with proper server settings, including CORS configuration for `ddev.site` domains. - Upgrade dependencies in `package-lock.json`, including versions for Rollup and TailwindCSS packages.
38 lines
1.4 KiB
PHP
38 lines
1.4 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
<meta http-equiv="Content-Security-Policy"
|
|
content="
|
|
default-src 'self';
|
|
script-src 'self' 'unsafe-inline' http://localhost:5173 http://127.0.0.1:5173;
|
|
script-src-elem 'self' http://localhost:5173 http://127.0.0.1:5173;
|
|
style-src 'self' 'unsafe-inline' http://localhost:5173 http://127.0.0.1:5173 https://fonts.bunny.net;
|
|
style-src-elem 'self' http://localhost:5173 http://127.0.0.1:5173 https://fonts.bunny.net;
|
|
font-src 'self' https://fonts.bunny.net;
|
|
connect-src 'self' ws://localhost:5173 ws://127.0.0.1:5173 http://localhost:5173 http://127.0.0.1:5173;
|
|
">
|
|
|
|
<title>{{ config('app.name', 'Laravel') }}</title>
|
|
|
|
<!-- Fonts -->
|
|
<link rel="preconnect" href="https://fonts.bunny.net">
|
|
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
|
|
|
|
<!-- Scripts -->
|
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
|
|
|
<!-- Styles -->
|
|
@livewireStyles
|
|
</head>
|
|
<body>
|
|
<div class="font-sans text-gray-900 dark:text-gray-100 antialiased">
|
|
{{ $slot }}
|
|
</div>
|
|
|
|
@livewireScripts
|
|
</body>
|
|
</html>
|