DEV Community

loading...

Laravel Vuejs or Laravel Angular

ajaydeveloper profile image AjayMalhotra Updated on ・1 min read
Hello to all, I am going to build SPA and I need to know:
Laravel Vuejs or Laravel Angular?
Please suggest.
Enter fullscreen mode Exit fullscreen mode

Vue laravel tutorial part 6 Form submission

Vue laravel tutorial part 5 Vue Routing

Vue laravel tutorial part 4 form-validation

Vue laravel tutorial part 3

Vue laravel tutorial part 2

Vue laravel tutorial part 1

Thank you.
Therichpost

Discussion (7)

pic
Editor guide
Collapse
rhymes profile image
rhymes

Don't know about Laravel and the web is full of "vue vs angular" comparisons (some useful, some less so). Vue's documentation has a comparison as well: vuejs.org/v2/guide/comparison.html...

If you don't have external constraints (colleagues, specific components you must use and so on) you should probably go through a bit of documentation for both and see which one you prefer...

Back when I was trying to choose I found Angular over engineered and React too complicated and I settled for Vue but you might come to different conclusions.

Collapse
ajaydeveloper profile image
AjayMalhotra Author

Thank you for reply.

Collapse
cjbrooks12 profile image
Casey Brooks

Laravel uses Vue in most (if not all) of their own UI components, so it is a more "natural" fit than Angular. I haven't worked much with Angular, but I will agree with the sentiment that it is often too over-engineered for many tasks. That's perfectly fine; it is a framework created explicitly for SPAs, but it does introduce a lot of overhead that may not be worth it for small-to-medium size projects. Vue, on the other hand, really shines with its component-based approach and single-file views. While Angular starts with the assumption that it is the entirety of your front-end, Vue comes in assuming it is just part of your front end and leaves the rest alone, while providing facilities if you do want it to be your entire front end. The fact that it's written in pure ES6 may also be a selling point for Vue, and you don't actually need any build process like Webpack for it to work, unlike Angular and Typescript.

Collapse
ajaydeveloper profile image
AjayMalhotra Author

Thank you and well done.

Collapse
juankortiz profile image
juankOrtiz

I'm learning both Laravel and Vue.js, as those two work really well together, so those two would be my picks.

Collapse
jamesmh profile image
James Hickey

In that case it's really your preference. I'd use what you are more experienced with. If you don't need an SPA, I'd def go with vuejs as it integrates well with blade etc.

Collapse
ajaydeveloper profile image
AjayMalhotra Author

Thank you for reply.