Laravel Vue js spa application

…衆ロ難τιáo~ 提交于 2019-12-06 09:04:30

I think this is a bit of religion of some sort, but there is no right or wrong answer. Both have benefits and disadvantages.

A few of the benefits I can think of on top of my head is:

Reusability. You've made an API now everyone and everything can use this API, wanna make an IOS app to your web application as well? Well, go right on you have a 100% functional and tested API already.

Expertise: It's easy for your team to split up and work on what they know.

Deployment: Frontend and backend can be deployed, and tested, separately which can give you a big amount of freedom.

So basically how you could set this up very fast. is install a laravel/lumen application where you have the API serve with your preferred choice homestead, nginx, artisan serve etc.

then take a new vuejs/ReactJS etc. server and set it up. then all your API calls referer to the localhost your Laravel application is running on.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!