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

TheDude's avatar

How to deploy Breeze/Inertia/Vue after using npm run build

The project is running fine locally, my boss has setup laravel on a server (nothing fancy), now I need to move my project from my local PC (Ubuntu) to the web server. We have git installed on the server.

I run npm run build and files appear in public/build/assets, with a manifest.json

What do I do with these files? Do I need to run php artisan breeze:install vue on the web server?

Guidance is deeply appreciated.

0 likes
1 reply
Sinnbeck's avatar

You either add those files to git locally (remove the path from gitignore and add them) or you run npm run build on the server when you deploy

Don't install breeze again unless you want to start over

1 like

Please or to participate in this conversation.