Force injecting LiveWire assets #15757
achyutkneupane
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was playing around with Livewire auto injecting assets and turned the
inject_assets
tofalse
onlivewire.php
.I forgot to turn it to
true
and went to the filament panel.Suddenly everything was blank.
While playing around, I manually installed and then uninstalled
livewire/livewire
and thought it caused the issue and later figured out theinject_assets
beingfalse
.So, how about forcing the injection using:
\Livewire\Livewire::forceAssetInjection();
?This will auto inject the Livewire assets without caring what is there in
livewire.php
.Beta Was this translation helpful? Give feedback.
All reactions