If you’re starting your journey with Vue.js, you may be wondering what version to learn. On one hand, Vue 2 has been out for years and is already being used by companies all over the world. On the other hand, Vue 3 brings us a faster, more capable library at our fingertips. This article aims to help clarify which version of Vue you should start learning now. So if you’re wondering whether you should take our Vue 2 or Vue 3 courses, keep reading.
What’s your situation?
The reason we’re taking the time to write this post is because the answer is: it depends. It depends on whether you’re on a team that is using Vue 2 with no near-term plans for migrating to Vue 3. It depends on your timeline and whether your app requires dependencies that aren’t yet compatible with Vue 3. In situations like these, it might not make sense for you to learn the latest Vue 3 syntax and APIs if you won’t be putting them into practice in your daily work.
In fact, we have an entire Vue 3 learning path that we developed with Vue Creator Evan You and the Core Team, and are constantly adding new courses and topics to it. So if you’re in a position to do so, we recommend going this route
But… they’re very similar
Having said all that, it’s important to understand that there aren’t many differences between the essential syntax of Vue 2 and Vue 3. Vue 3 is rewritten under the hood to operate more smoothly and powerfully, but using Vue 2 and Vue 3 is a very similar (and in many cases identical) process unless you’re using Vue 3 specific features and APIs, like the Composition API and script setup. With this in mind, whichever version you start with, you’ll quite easily be able to go from one version to the other and back again, if necessary.