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:
parent
27c6454f1b
commit
2994a8e853
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in a new issue