~/talk

Migrating Your Nuxt/Vue App to TypeScript

Talkat Vue.js Nation 2024 · 2024-01-24..01-25· [typescript]
slides:none on file

Migrating a Nuxt 2 app uses Nuxt Bridge and a custom TS config to admit .ts files, converts self‑contained services/helpers first, then plugins (Firebase plugin needs manual typing), and replaces Vuex modules by moving stores to Pinia — one store is a pilot and the migration is about 30–40% complete. Components move to script‑setup incrementally; blocking issues are legacy v2 deps like vate and nsvg that produce TypeScript errors and must be upgraded or replaced. PushBrand runs as an invite‑only beta.

AI-written summary · about

  1. 0:00TypeScript migration intro
  2. 2:49Starting migration
  3. 3:55TS config for Nuxt/Bridge
  4. 7:25Vuex store migration
  5. 8:49Migrating components to TypeScript
  6. 10:34Live component migration
  7. 14:52Key takeaways
  8. 16:19Q&A
~/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.