Created
March 26, 2025 11:58
-
-
Save caiovncius/bab1f88c3017012dfb708fce5903a467 to your computer and use it in GitHub Desktop.
Inertia main layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title inertia>{{ 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 --> | |
@routes | |
@viteReactRefresh | |
@vite(['resources/js/app.tsx', "resources/js/Pages/{$page['component']}.tsx"]) | |
@inertiaHead | |
</head> | |
<body class="font-sans antialiased"> | |
@inertia | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment