© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
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
=
>
l
o
g
i
n
:58
GET
http://[::1]:5173/resources/css/filament/admin/theme.css
n
e
t
:
:ERR
_CONNECTION
_REFUSEDUnderstand this error
l
o
g
i
n
:58
GET
http://[::1]:5173/@vite/client
n
e
t
:
:ERR
_CONNECTION
_REFUSED
Solution
is there a
hot
hot
file in the public folder
?
Jump to solution
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Was this page helpful?
Yes
No
Similar Threads
Recent Announcements
Similar Threads
infolist not woking?
F
Filament / ❓┊help
3y ago
Theme: Dark|Light Mode Not Working
F
Filament / ❓┊help
15mo ago
Filament theme not editing active nav in light mode
F
Filament / ❓┊help
6mo ago
filament theme dark mode
F
Filament / ❓┊help
3y ago