JS files are commented
When I move from one page/resource to another (for e.g. from orders to products) I see that js files (filament and livewire files) are commented which creates a some js errors like
But then if I reload entire page it works fine
8 Replies
That's weird. Maybe some issues with Livewire's diffing? π€
Is any way to test it or something? Also I don't know if it matters but I have this only on production server - at localhost everything is ok π€
That's even weirder. Any difference in versions?
Nope - I even manually uploaded files to have everything the same
Do you use
->spa()
mode?Also I can see in response that those scripts are not commented - seems like they are commented after that.
Yes
Without ->spa() it works fine (like this "hard refresh" I mentioned
Still weird that spa mode only has problems on production
The only difference is apache (local) vs nginx (server) π€