Steve Edson
Steve Edson
Explore posts from servers
FFilament
Created by Steve Edson on 2/16/2024 in #❓┊help
Vite not working for theme
I'm trying to create a custom theme, I've created it using php artisan make:filament-theme, and then registered it using:
->viteTheme('resources/css/filament/admin/theme.css')
->viteTheme('resources/css/filament/admin/theme.css')
When I load it, it's literally coming back with:
@import '/vendor/filament/filament/resources/css/theme.css';

@config 'tailwind.config.js';
@import '/vendor/filament/filament/resources/css/theme.css';

@config 'tailwind.config.js';
and isn't being processed by vite at all, meaning by admin has no applied styles. Can't see any errors or warnings either, not sure what's wrong here? It's Vite v5.1.2
2 replies