I would separate them. In my head that is easier. Clear separation of concerns. Also scaffolding for Vue app is far better when you do it through Vue CLI compared to what comes with Laravel. Less chances that some change in the repo will affect other team. Less chances for merge conflicts when you have two repos. Imagine if you have CI/CD setup to run tests on every push, frontend change would have to wait for backend tests to finish before you would be able to merge it. And so on...
Mar 29, 2021
2
Level 2
Best way for frontend in vue.js and backend in Laravel
Good day,
I would like to develop an application in Aue.js 3 with Primevue and use Laravel as backend for it.
Now I would like to know what is better in practice. I develop both in a Laravel environment. Or I develop backend and frontend separately from each other.
Surely both have advantages and disadvantages. How is it with you guys? How do you do it?
Please or to participate in this conversation.