Getting started with Vue 3: building your first app with Vite
Learn how Vue 3 works, set up a project with create-vue and Vite, and understand the anatomy of a Single File Component through a real example.

A space to connect knowledge, one line of code a day.
Discover tutorials, ideas, and notes from a learning journey.
Learn how Vue 3 works, set up a project with create-vue and Vite, and understand the anatomy of a Single File Component through a real example.
Learn how Vue 3 works, set up a project with create-vue and Vite, and understand the anatomy of a Single File Component through a real example.
Understand how Vue tracks data changes, when to use ref or reactive, and the difference between computed and watch, along with common pitfalls.
Master Vue template syntax to display data, handle events, render conditions and lists, and create two-way bindings for form inputs.
Learn how Vue components communicate through props and events, build a custom v-model with defineModel, and compose flexible layouts with slots.
Organize the pages of your Vue app with Vue Router: route definitions, dynamic params, nested routes, lazy loading, navigation guards, and a 404 page.
Manage global state in your Vue app with Pinia: create stores with the setup syntax, use storeToRefs, write async actions, persist state, and test your stores.
Stay curious. There is always something new to learn.
Writer and founder of Diary Coding — sharing notes, tutorials, and experiences about programming for anyone who wants to keep learning.