How to push JS for a custom field in the formbuilder
Hi
I would like to use the filament signature-pad https://github.com/savannabits/filament-signature-pad
But it looks like the original author has abandoned the project, so my plan is to make a clone and apply the fixes that other users already have suggested
one thing that is needed is to publish the JS when the field is used outside the admin panel - How do one push custom JS the correct way ?
GitHub
GitHub - savannabits/filament-signature-pad: Signature Pad Field fo...
Signature Pad Field for Filamentphp Forms. Contribute to savannabits/filament-signature-pad development by creating an account on GitHub.
3 Replies
then users can publish them with
php artisan vendor:publish
For reference: https://github.com/spatie/laravel-package-tools
GitHub
GitHub - spatie/laravel-package-tools: Tools for creating Laravel p...
Tools for creating Laravel packages. Contribute to spatie/laravel-package-tools development by creating an account on GitHub.
Thanks!