Its normal to have filament Js files on the public folder?
I have been noticing that i have a lot of js files on my public folder and idk why.
Is this normal function? Where this files are meant to go? On vendor/filament?
6 Replies
Yes, this is normal. Filament uses a lot of JS functionality all over the place, so it needs them to be accesible publicly. That's why they are there π
... great i just delete them all hahaha
thanks for the answer dough
No worries π
Solution
You can republish them with
php artisan filament:assets
And, your composer.json should be calling
php artisan filament:assets
every time you run composer update
, so that it keeps things in sync. Normally the filament install process adds that to the composer.json file.Adding filament:upgrade will also run it by default.