Using Vite and HMR without extending theme

I want to use Vite for my Filament development. I extended the basic theme and included it as a viteTheme on my panel and it's working perfectly. I'd like to know if it's possible to use Vite and HMR in Vite without extending the theme, as it requires some extra NPM packages that otherwise would already be included in the Filament package itself. I mostly just want to be able to reload my browser page as soon as I save a php or blade file πŸ™ˆ
Solution:
You should custom theme, but if you are looking for a hack, there it is: https://github.com/filamentphp/filament/discussions/7691#discussioncomment-6707745
GitHub
Css from resources build not in filament default layout Β· filamentp...
My stack: laravel 10 laravel jetstream laravel sail laravel livewire 3 filament 3 It's fresh install I created resources/vendor/filament-panels/components/logo.blade.php like docs said to add l...
Jump to solution
2 Replies
Solution
Mikazor
Mikazorβ€’2y ago
You should custom theme, but if you are looking for a hack, there it is: https://github.com/filamentphp/filament/discussions/7691#discussioncomment-6707745
GitHub
Css from resources build not in filament default layout Β· filamentp...
My stack: laravel 10 laravel jetstream laravel sail laravel livewire 3 filament 3 It's fresh install I created resources/vendor/filament-panels/components/logo.blade.php like docs said to add l...
TimeglitchD
TimeglitchDOPβ€’2y ago
Alright, thank you!

Did you find this page helpful?