Need a tutorial to update a plugin v3 to v4 ?
I'm trying to start updating my plugin v3 to v4 (https://github.com/webplusmultimedia/filament-json-media ).
Unfortunatly, the upgrade commande is ok, but the render is completly broken.
what i've got :
GitHub
GitHub - webplusmultimedia/filament-json-media: a media library bas...
a media library base on json field with custom properties + Galleries on front-end - webplusmultimedia/filament-json-media

8 Replies
Filament v4 uses tailwind v4, you need to update your you css integration and build.
that's not only the problem. A lot of stuffs has change here, probably cuz the very good partial render....
For example in entry, i catch this error
Unable to locate a class or view for component [filament-infolists::entry-wrapper.label]
.
I need to investigate first. but thank
did you have a repo with a plugin in v4 ?So, far:
Badgeable Column
Gravatar
Light Switch
Overlook
Shout
Sticky Header
Versions
I have a lot to upgrade. 😂
All changes will be on the next version number branches.
oh, great
Oo My bad, this can't load those ax-load-src 🤔
The ax loading was actually changed in one of the v3 releases, with the upgrade for async alpine, but Dan made a non breaking script for it that probably isn’t in v4.
Trying to find the version for you.
Was some where around 3.2.130 iirc.
Yeah, i got it right now lol . Thank
We need to pay attention on :
- the
state
and the rawState
- change the way of finding methods on alpine front (...)
- replaced ax-load
and ax-load-src
with x-load
and x-load-src
- found the way to add an action for alpine
btw, i don't know how to add the action on my plugin, dn't work for nowBy the way check if you replaced
ax-load
and ax-load-src
with x-load
and x-load-src
.
The syntax seems to have changed in v4yeah i did, this is the one whom kill me lol
thank
got my custom action in alpine mode 🔥