© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
7 replies
Tarun Korat

My cutom theme was not woking in Production mode

Hello,

I have create filament app. and i have use custom theme in that. but got error in production mode if i dont run npm run dev.

my vite config
import { defineConfig } from 'vite'
import laravel, { refreshPaths } from 'laravel-vite-plugin'

export default defineConfig({
plugins: [
laravel({
input: ['resources/css/app.css', 'resources/js/app.js', 'resources/css/filament/admin/theme.css'],
refresh: [
...refreshPaths,
'app/Filament/',
'app/Forms/Components/
',
'app/Livewire/',
'app/Infolists/Components/
',
'app/Providers/Filament/',
'app/Tables/Columns/
',
],
}),
],
})


and my AdminPanelProvider
->viteTheme('resources/css/filament/admin/theme.css')

I got the error, i already make build=>
login:58
GET http://[::1]:5173/resources/css/filament/admin/theme.css net::ERR_CONNECTION_REFUSEDUnderstand this error
login:58
GET http://[::1]:5173/@vite/client net::ERR_CONNECTION_REFUSED
Solution
is there a
hot
hot
file in the public folder?
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

infolist not woking?
FilamentFFilament / ❓┊help
3y ago
Theme: Dark|Light Mode Not Working
FilamentFFilament / ❓┊help
15mo ago
Filament theme not editing active nav in light mode
FilamentFFilament / ❓┊help
6mo ago
filament theme dark mode
FilamentFFilament / ❓┊help
3y ago