Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GuillermoAzFz's avatar

Update CSS in production server with no SSH access working with Vite

Hi, would appreciate any help. Hosting providers haven't granted me SSH access yet (i.e. can't run npm commands.). Need to update CSS. I am working with Laravel 9 (i.e. using Vite). Can it be done via FTP? If so, which files/folder to upload?

0 likes
2 replies
thinkverse's avatar
Level 15

You need to upload the build directory located under the public directory, it should contain a manifest.json file and an assets directory. If the build directory isn't there, then you first need to generate a production build.

npm run build
2 likes

Please or to participate in this conversation.