

Category · Vue
The template stays a template, the data stays reactive
One .vue file, ref, lists, events, v-model, watch, props/emit, loading in onMounted. Eight lessons to a working screen.
8 lessons87 min
To the first lessonCheatsheet nowTopics, each as its own lesson

01One file: template, script, styleDemoA Vue component is three blocks in one `.vue`. Markup stays markup.
10 min
02ref, bindings, eventsReactivity isn't "magic". Change `.value` on a ref and the template redraws itself.
11 min
03Lists, computed, keysv-for without :key is a trap. Computed is a cached formula, not a method called "at every sneeze".
11 min
04Events and modifiers@click calls a function. .prevent on a form, otherwise a reload.
10 min
05v-model on a fieldYou type — the ref changes. A checkbox is a boolean, not a string.
11 min
06watch: a side effect on changeComputed is a formula. watch is for calling an API when the id changed.
11 min
07props down, emit updefineProps reads. defineEmits notifies the parent. Don't write into a prop.
11 min
08onMounted and loadingAfter it appears in the DOM — onMounted. Fetch there, or in a watch on the id.
12 min0/8 topics open. This is the course intro, not the whole course on one page.
In the knowledge base
Reference pages for the technologies on this topic: who maintains them, when to use them and what interviews ask.