Vue from an Angular programmer’s perspective
Before we start, this is not another blog post about which framework is “better." I have been working with Angular (version 2 and above) for two years, and now I’m starting a new project with Vue. In this post, I will share my experience about learning and using Vue compared to Angular.
My first observation is that, by reading the official documentation in a couple of hours, one has the confidence to be able to start a medium-sized development. However, with Angular, I did not experience this until a long time after using the framework: I believe the main reason for this difference is because I had to learn many new concepts, such as decorators, observables, typescript, among others.
Angular and Vue are inspired by AngularJS, therefore, they have many similarities. Below you'll see some similarities from an example component written in both frameworks:
Conditional rendering, loop iterations, data and event binding look very similar in both frameworks:
As you can see in the table and picture above, If you already know Angular, you will be familiar with almost everything when starting with Vue.
Working with Vue
Okay, we already read the official documentation, we feel confident and we think we are ready to work with Vue, but… what about a real project?
Well, I have been working on a large-scale project with Vue for the last month and these are my feelings:
From an Angular programmer’s perspective, I’m pretty sure that if you taste Vue, you will not want to go back. I am not telling you that Vue is the definitive framework, but definitely, you need to give it a try and see it in action in a real project.
Feel free to contact me if you have questions/comments about this blog at email@example.com.