F
Filamentβ€’14mo ago
Hurruwa

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?
No description
Solution:
You can republish them with php artisan filament:assets
Jump to solution
6 Replies
ModestasV
ModestasVβ€’14mo ago
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 πŸ™‚
Hurruwa
HurruwaOPβ€’14mo ago
... great i just delete them all hahaha thanks for the answer dough
ModestasV
ModestasVβ€’14mo ago
No worries πŸ™‚
Solution
awcodes
awcodesβ€’14mo ago
You can republish them with php artisan filament:assets
DrByte
DrByteβ€’14mo ago
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.
awcodes
awcodesβ€’14mo ago
Adding filament:upgrade will also run it by default.
Want results from more Discord servers?
Add your server