ChesterS
Saving Optional Relationship to db does not persist
Why do you have a
book_id
on the book_poster
table? Can a poster only post one book?
Honestly I don't know how this would work with laravel or fillament by default. You essentially have 2 different relations here - A poster
had a book
and a book
has a poster
but they can be different.
I think you will need to override the default create method if you want to change the book_id
on the book_poster
table (or use a mutateData...
method)33 replies
Vite manifest not found when registering custom asset and deploying to production
yeah I guess that's the only solution. It'll make local development a bit more annoying since we'll have to remember all those steps when installing/upgrading locally but what can you do...¯\_(ツ)_/¯
34 replies
Vite manifest not found when registering custom asset and deploying to production
Yeah sorry about that. The issue started when I loaded a custom asset using
FilamentAsset::register
which needs the (AFAIK) the vite manifest to exist so it can find the asset.
However, during deployment, NPM (install + build)34 replies