Admin panel isn't loading correctly
Hello, rn Im deploying my website in production and I have a problem that sometimes the backend isnt loading correctly. Im deploying it with ploi and im using this deployment script:
Its maybe 50/50 if everything works fine. If not it looks like this:
(the red rectangle is just to hide the name)
Is something wrong with my deployment script? There are no errors on the web console and when im running npm run build after the deployment it normally works as usual.
thanks in advance π
3 Replies
try running it again but change :cache to :clear on all the commands
also, composer install before you npm build, as it might be missing some vendor scripts stuff
unfortunately its still not working (same problem). My deployment script looks like this rn:
It seems like the Filament assets haven't been published/copied to your public directory. Are those committed to the public dir in git before you deploy?