Closed francoism90 closed 1 year ago
Hey @francoism90! We're sorry to hear that you've hit this issue. 💛
However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?
We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.
Package
filament/filament
Package Version
v3.0-stable
Laravel Version
v10.18.0
Livewire Version
v3.0.0-beta.7
PHP Version
PHP 8.2.0
Problem description
It doesn't load
livewire.js
, resulting in the admin panel not working.Expected behavior
Always load
livewire.js
.If I uncomment the following line, it does work fine: https://github.com/livewire/livewire/blob/11c75143c19d4f4559d0cf67e27f458cbd0c154e/src/Features/SupportAutoInjectedAssets/SupportAutoInjectedAssets.php#L29
I think the issue happens, because Filament is already registering assets.
Steps to reproduce
/admin
livewire.js
route is being called, resulting in unusable adminReproduction repository
https://github.com/filamentphp/filament
Relevant log output
No response