Type checker for Vue SFCs with TypeScript 7 integration.
This project includes a lightweight subset of @vue/language-core designed for type checking only environments.
It works by emulating TypeScript’s path resolution behavior when creating a project, writing a virtual workspace into a temporary directory, where all Vue SFCs are transformed into real TS files and handed off to tsgo --lsp for type checking.
pnpm i -D vue-tsgo
# single project
pnpm vue-tsgo --project .nuxt/tsconfig.app.json
# multiple projects (references)
pnpm vue-tsgo --build
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.