Custom theme: Unable to locate file in Vite manifest
I created a custom theme according to: https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme
Then I registered it in the Panel provider:
->viteTheme('resources/css/filament/client/theme.css')
This is my vite.config.js:
And I ran npm run build
But in production it still gives this error (locally it works fine):
Unable to locate file in Vite manifest: resources/css/filament/client/theme.css
5 Replies