jonassiewertsen / statamic-livewire

A Laravel Livewire integration for Statamics antlers engine
91 stars 16 forks source link

Everything breaks in v.3 Upgrade ? #49

Closed yabdab closed 9 months ago

yabdab commented 9 months ago

Just upgraded to Statamic 4.49.0 and Livewire 3.0 and now all my components are unable to be found ( Livewire \ Exceptions \ ComponentNotFoundException ).

Tried clearing cache and all the usual stuff, but nothing worked.

Only resolution was to step back down to 2.12.0 and everything worked again.

Are there any steps that need to be done when going from LW2 -> LW3 ?

Thanks.

marcorieser commented 9 months ago

Have you stepped trough the upgrade guide? https://livewire.laravel.com/docs/upgrading

robdekort commented 9 months ago

This is not an issue with this addon. Livewire 3 introduces some breaking changes, so you have to follow their upgrade guide: https://livewire.laravel.com/docs/upgrading#update-livewire-to-version-3

yabdab commented 9 months ago

Thanks for the quick reply guys!

Went through the guide and now everything works again 🎉

robdekort commented 9 months ago

Nice

jonassiewertsen commented 9 months ago

I added a little node in the Readme to help upgrading in the future:

https://github.com/jonassiewertsen/statamic-livewire/blob/master/README.md#upgrade

Let me know if we can adjust ist, to help even more