gbuckingham89
Including livewire.js when livewire.inject_assets = false
We're considering doing a check in our
AppServiceProvider
to see if we're in a Filament panel and dynamically change the config value, i.e.
if(Filament::getCurrentPanel()) {
Config::set('livewire.inject_assets', true);
}
But wondering if there is a more elegant solution?3 replies