Vue.js is an open-source JavaScript framework meant for building scalable, quick-loading user interfaces. It's particularly useful for simpler single-page apps in place of a monolithic framework like React.
Vue.js was first released in February 2014 by Google employee Evan You, as an alternative to Angular 1. His goal was to build a lightweight framework that incorporated the parts he liked about Angular 1 (e.g. component-based, syntax), but with more flexibility (i.e. less opinions on how your app should be structured) and one-directional data flow between components.
As a result of its simplicity, the learning curve for Vue is less steep than Angular or React -- and for newer developers who have a basic understanding of component-based UIs and the virtual DOM, this is a significantly friendlier tool to take single-page apps farther.
-
Vue.js official tutorial
-
Everyone's favorite lab: building a to-do app using Vue.js!
EDIT: After running through this tutorial myself, the author gets lazier with explanations as the tutorial progresses. Should you get stuck, here's my repo. Unlike the tutorial, my createTodo function works.
- Remember that the default local port for the Vue server is 8080, not 3000. Calling
npm run dev
from the Terminal will lead you there automatically.