How to rebuild file-upload.js asset file so it detects a new locale?
I want to add a new locale to the filepond. after that, ill PR it in the filament repo. i do it on
packages\forms\resources\js\components\file-upload.js
but then idk how to "build" it so i can test it works.8 Replies
been trying to search how to in filament docs but so far im unlucky
@Dan Harrin i also wanna PR this but im stucked 🥲
npm run build
in the fork, then php artisan filament:assets
in your appso far ive completed this steps:
https://filamentphp.com/docs/3.x/support/contributing#developing-with-a-local-copy-of-filament
now im just trying to create a resource but idk how to proceed
make:filament should be make:filament-resource
yes ik, well just did that to show that i didnt have any filament installed in example app project
now, what i did is update the composer
from:
to:
not sure if im doing it wrong but is the way i can execute
composer update
without getting error. i was getting:
it works, filepond in Catalan!!!!!!!!!!!! : D
thanks again dan, now i have to clean it up and PR it!
should we change it in the docs, or its me that i did it different?