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

mehmetanbaki's avatar

Laravel and Vuejs deployment

I've created Laravel application as API backend And Vuejs as Frontend and i want to deploy both of them to online server, what is the best way to do this? is it possible to put laravel backend files inside a folder with front file in the same public_html folder.

0 likes
3 replies
tykus's avatar

Are the backend and frontend applications together in a monolith, or separate projects? What infrastructure are you deploying on?

tykus's avatar

You can serve the applications from the same virtual host (serving from the project's public directory). Your frontend application will likely be bundled into js and css subdirectories of `public anyway.

Please or to participate in this conversation.