~/talk

Migrating Vue 2 to Vue 3

Talkat Vuejs Amsterdam 2021 · 2021-02-26..02-27· [vue]
slides:none on file

Migrates a Vue 2 app to Vue 3 by showing concrete code changes: v‑model now uses modelValue and emits update:modelValue, components support multiple v-model bindings, and custom modifiers (example: capitalize) are passed as boolean props and applied in setup. Demonstrates building a salutation-name component with select and input, uses reactive/refs in setup, shows $attrs now includes listeners (onX) and class/style handling, explains multiple-root components, inheritAttrs and the new emits option, and verifies behavior in the browser while skipping Composition API.

AI-written summary · about

  1. 0:00Start
  2. 0:18From Vue 2 to Vue 3
  3. 1:30Overview of v-model
  4. 1:59The new defaults
  5. 12:02Built in modifiers
  6. 12:42Creating a custom modifier
  7. 18:44Vue 2 vs Vue 3
  8. 24:38Binding listeners through Sattrs
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.