Local development of sortable.js, changes have no effect after npm run build
I tried to make changes to
packages/support/resources/js/sortable.js
, but it seems like docs-assets/app/public/js/filament/support/support.js
is being used by the laravel app instead, and npm run build
does not update the public support.js
. How do I make sure my changes to sortable.js are visible?Solution:Jump to solution
It was
public/js/filament/support/support.js
in my laravel app that was being used instead of packages/support/resources/js/sortable.js
from the local filament repo. And to make the changes have an effect, I needed to run php artisan filament:assets
to republish the the assets, as mentioned by Dan. Also documented here:
https://filamentphp.com/docs/3.x/support/assets...1 Reply
Solution
It was
public/js/filament/support/support.js
in my laravel app that was being used instead of packages/support/resources/js/sortable.js
from the local filament repo. And to make the changes have an effect, I needed to run php artisan filament:assets
to republish the the assets, as mentioned by Dan. Also documented here:
https://filamentphp.com/docs/3.x/support/assets