~/talk

Nuxt.js and the Composition API

Talkat Vue.js fwdays'20 online conference · on Saturday, 2020-11-28· [vue]
slides:none on file

Nuxt.js provides a composition-api module that re-exports Vue’s API and adds Nuxt-specific composables so server rendering, routing and runtime context work with useFetch, useAsync, useContext and friends; examples include a working canonical-link composable built from useCurrentUrl plus useMeta, and SSR-aware refs via useSsrRef. The module (nuxt-community, maintained by Daniel Rowe) aims to ease migration to Nuxt 3, but warns about serialization keys and shared server state when reusing low‑level helpers.

AI-written summary · about

  1. 0:00Introduction
  2. 0:44Composition API Status Quo
  3. 2:45Nuxt Composition API Module
  4. 3:54Module Goals and Roadmap
  5. 5:23Definition Helpers
  6. 7:35Data Fetching with useFetch
  7. 11:30Context and useContext
  8. 14:09Advanced Fetching with useAsync
  9. 18:22Static Data with useStatic
  10. 21:24Global Setup and Provide
  11. 22:27SEO and Meta Tags with useMeta
  12. 25:07Implementing Canonical Links
  13. 30:37SSR-Aware Refs and State
  14. 33:00Gotchas and Best Practices
  15. 35:26Summary and Q&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.