~/talk

Nuxt.js and the Composition API

Talkat vueday 2021 · on Thursday, 2021-04-29· [vue]
slides:none on file

Nuxt provides a Composition API module that exposes concrete composables: useFetch behaves like Nuxt fetch on server but is non‑blocking on the client, useAsync returns a ref and runs on server for initial render, and useStatic runs at build time and emits JSON files for SSG. Nuxt re-exports Vue composables, supports SSR/SSG, and plans Nuxt 3 alpha/beta releases; an implemented example builds a canonical-link composable with useMeta that works, while ssrRef requires explicit keys in global composables to avoid cross-request collisions.

AI-written summary · about

  1. 0:00Start
  2. 0:56Alexander Lichter
  3. 5:27Goals of the Vue 2 Composition Api
  4. 8:11Goals
  5. 9:22Release Plan
  6. 12:49Use Fetch State in a Template
  7. 13:35Context
  8. 17:38Fetch Data in the Composition Api
  9. 23:53On Global Setup
  10. 25:48Seo
  11. 28:15Canonical Link Index
  12. 31:55Gotchas
  13. 44:46Workshop
~/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.