HUGE_DICK_10_INCHES's avatar

Vue app with laravel

I've seen that some people make vue/laravel apps divided into two apps and some within one app.

  1. Front as one app and back as another
  2. Front and end within same laravel app

What is the better way to do it?

0 likes
1 reply
ejdelmonico's avatar

Think about it. What fits your use case? If the backend will be accessed by more than one of your frontend apps, then use separate frontend and backend apps. If you do not think that other apps will be accessing the api, then combine them for a unified codebase. It really comes down to the old it depends phrase. The beauty of Laravel is you can use it in almost any combination of structure.

Please or to participate in this conversation.