One page

Vue cheat sheet

What to keep at hand. If a line is not clear, go back to the matching lesson in the course.

Open the course: Vue: getting started

SFC

WhatHow
Template<template>…</template>
Logic<script setup>
Styles<style scoped>
Text{{ name }}

Reactivity

WhatHow
refn.value in the script, {{ n }} in the template
Event@click="inc"
Listv-for + :key
Formulacomputed(() => …)
Fieldv-model
Upemit("saved")