~/talk

How we used Nuxt and Composition API in Vue Storefront?

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

Claim: a full rewrite of Vue Storefront onto Nuxt plus the Composition API turns a monolith into domain-oriented independent packages, eliminates the need for Vuex for most e‑commerce cases, and ships composables as the public API. Built: Vue Storefront Next, many composable packages, and a sharedRef workaround for Nuxt SSR because the Nuxt Composition API module injects keys. Result: production rollout with caveats and extra workarounds but overall no Vuex needed and much simpler modular code.

AI-written summary · about

  1. 0:00Intro
  2. 0:52What is Storefront
  3. 3:22What is Composition API
  4. 5:14Composition API benefits
  5. 5:54Component level
  6. 12:22Composition API
  7. 14:32Vue Storefront
  8. 19:59Why use Composition API
  9. 22:23Solution
  10. 23:28Shared State
  11. 25:21Conclusion
  12. 25:58Questions
  13. 26:46Why not use Nuxt
  14. 28:19Modularization
  15. 29:54Mindset
  16. 32:12Never modify tools internals
  17. 36:06repositories
  18. 37:06best practices
  19. 40:27style guide
  20. 41:46split smart and dump components
~/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.