fix: include Tailwind CSS entry in @vite directive

The @vite blade directive was missing resources/css/app.css, causing
the entire Tailwind CSS bundle (including all utility classes for
height, width, spacing, colors, etc.) to not load. SVGs and all
elements were rendered unstyled/unsized, resulting in oversized icons
filling the viewport.
This commit is contained in:
Thorsten Bus 2026-03-02 09:23:32 +01:00
parent 27c6454f1b
commit 2994a8e853

View file

@ -13,7 +13,7 @@
<!-- Scripts -->
@routes
@vite(['resources/js/app.js', "resources/js/Pages/{$page['component']}.vue"])
@vite(['resources/css/app.css', 'resources/js/app.js', "resources/js/Pages/{$page['component']}.vue"])
@inertiaHead
</head>
<body class="font-sans antialiased">