© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
jals65

Theme app.css cache busting

I see in filament css links you have the version to prevent cache whent it updates. It's possible to do the same with the app.css?

I have this in the AdminPanelProvider.php

->theme(
                mix('css/app.css')
            )
->theme(
                mix('css/app.css')
            )
Solution
finaly i solve it adding on the webpack.mix.js this:

if (mix.inProduction()) {
    mix.version();
}
if (mix.inProduction()) {
    mix.version();
}
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Import external CSS after Filament’s theme CSS
FilamentFFilament / ❓┊help
12mo ago
css error in app.css
FilamentFFilament / ❓┊help
15mo ago
custom theme CSS for blade files
FilamentFFilament / ❓┊help
2mo ago
Css styling in theme not working
FilamentFFilament / ❓┊help
11mo ago