Vue 3 and Typescript
summary
Vue 3 claims full TypeScript love: core and official libs are rewrote core in TypeScript, the Composition API yields real inferred types, injections use InjectionKey so inject(...) is typed, and template props now produce editor errors and safe renames. Tooling options include Volar and Vetur and a CLI vti for template type checks. Surprising numbers: TypeScript ≈16 million weekly downloads while Vue is ≈2 million, and ~30–40% of npm packages ship types. Caveats remain: template build-time typechecking and Vuex 5 typing are still work in progress.
AI-written summary · about
chapters (11)
- 0:00Vue 3 and TypeScript intro
- 2:08Why TypeScript grew popular
- 5:15Vue 2 TypeScript challenges
- 8:44Vue 2 tooling with TypeScript
- 11:33Live Vue 2 TypeScript issues
- 14:22Vue Class Component limits
- 17:08Vue 3 major improvements
- 19:35Live Vue 3 TypeScript benefits
- 23:28Composition API and TypeScript
- 26:35Vue 3 TypeScript DX today
- 29:48Conclusion and outlook
related talks
20mTypeScript with Vue.js 3
29mTypescript + Vue @ Politico
40mState of Vue.js
29mVue & TypeScript Up and Running
34mState of the Vuenion
47mVue.js and TypeScript: Working Together like Peanut Butter & Jelly
01h 09mVue 3 Live Release
30mEmpowering Vue with TypeScript, Inversify, Vuex and some other super to
