~/talk

Building Components for Vue 2&3 - an Attempt at solving the challenge

Talkat JSWorld Conference 2022 · 2022-02-09..02-11· [vue, frontend-architecture]
slides:none on file

Concrete recipe for cross‑version Vue components: use vue bridge — a tiny 600 bytes runtime that normalizes v-model and options, a testing bridge exposing one mount API that runs against both Test Utils versions, an ESLint preset, and a Vite plugin that strips version-specific style blocks and resolves per‑version imports. Organize builds in a mono repo with pnpm workspaces, build twice (or publish two packages / one package with two dist folders), and use the provided template on npm to get started.

AI-written summary · about

  1. 0:00Start
  2. 2:52Introducing Vue-Bridge
  3. 4:58Vue 2.7 will make this easier
  4. 5:40Example: v-model on Components
  5. 6:09Example: v-model - Manual Fix
  6. 6:25Example: v-model-Vue-Bridge helper
  7. 7:10Challenges for unit Testing
  8. 7:40Example - Unit test
  9. 8:53Build-time features
  10. 9:42Version-specific styles
  11. 10:33Version-specific imports
  12. 12:05Dependency issues in flat repositories
  13. 13:39Clean Dependencies with Workspaces (1)
  14. 17:27Bundling and Publishing as two Packages
  15. 18:52Bundling and Publishing as one Package
  16. 29:02Vue-Bridge needs you!
~/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.