Building Backwards Compatible Vue Libraries
summary
Claims a concrete recipe to ship one library that runs on both Vue 2 and Vue 3 by cross‑compiling and testing against both runtimes. It uses PNPM Workspaces monorepo layout, simlink the src directory, and reuse of build/test tooling (Vite/Webpack/Vue CLI, Jest, Playwright) plus Cypress component tests to exercise V‑model and template differences. Example repo “Petite” demonstrates fixing V‑model events, worked in the live demo, and addresses a 7‑repo, 5‑team, 25‑engineer, 4‑product migration.
AI-written summary · about
chapters (9)
- 0:00Intro
- 6:48Design Goals
- 7:15"Petite"
- 8:30Make a monorepo
- 8:47Symlink the src directory
- 9:42Reusing build and test tooling
- 11:58Demo
- 21:09Deploying your packages
- 21:48Closing notes








