© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
7 replies
Fireflies

Creating custom theme breaks Vite

I followed documentation on: https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme

Everything works fine after running
npm run build
npm run build
, however
npm run dev
npm run dev
is no longer building assets and I get html only page.

It seems like
->viteTheme('resources/css/filament/admin/theme.css')
->viteTheme('resources/css/filament/admin/theme.css')
is causing this issue.

Maybe anyone had similar issue? Running laravel 11 with sail.
Themes - Panel Builder - Filament
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Custom theme & testing: Vite manifest not found
FilamentFFilament / ❓┊help
12mo ago
no default css after creating custom theme
FilamentFFilament / ❓┊help
7mo ago
Minimal Theme vite error
FilamentFFilament / ❓┊help
7mo ago
custom theme
FilamentFFilament / ❓┊help
2y ago