Goodbye vue-tsc? Moving a Vue Project to TypeScript 7.1 Content Mappers 0 ▲ alexop.dev 1 hour ago · 7 min read1350 words · Tech · hide · 0 comments TypeScript 7 got fast because it was rewritten in Go. Vue projects could not use it. vue-tsc works by patching the JavaScript TypeScript compiler, and the Go version has no JavaScript compiler to patch. That changed this week. TypeScript 7.1 beta ships an official plugin point called content mappers, and Johnson Chu released Vue Language Tools v4 alpha on top of it. TypeScript’s own tsc now type-checks .vue files. No more vue-tsc, at least on the CLI. It’s an alpha, and the PR behind it is still open. I migrated a small demo app and then the Directus admin app to see what that means in practice. The demo project lives at [github.com/alexanderop/vue-ts7-content-mapper](https://github.com/alexanderop/vue-ts7-content-mapper). The first commit is the `vue-tsc` baseline. The second commit is the whole migration. What is a content mapper? TypeScript can’t read a .vue file. It’s markup with a <script> block and a template full of expressions. Vue solves this with Volar. Volar turns every… No comments yet. Log in to reply on the Fediverse. Comments will appear here.