Replies: 2 comments 3 replies
-
here is a temporary fix // AppServiceProvider
if(Filament::getCurrentPanel()) {
Config::set('livewire.inject_assets', true);
} Credits to gbuckingham89 @ Including livewire.js when livewire.inject_assets = false |
Beta Was this translation helpful? Give feedback.
3 replies
-
Worked until I added Octane, which has an empty request() in AppServiceProvider. However! Luckily ChatGPT knows all things so just put it in middleware and stick it onto AdminPanelProvider.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
If livewire is configured to not inject assets
config/livewire.php
inject_assets = false
Then filament will not render.
It's possible to add
\Livewire\Livewire::forceAssetInjection();
in the filament routes to compensate this.Maybe an option or a check ?
Took us a while to figure the culprit of why filament was not rendering.
Beta Was this translation helpful? Give feedback.
All reactions