KazariEX/vue-tsgo

Type checker for Vue SFCs with TypeScript 7 integration.

TypeScript

102

122 commits

updated Jul 9, 2026

See the code

README

Vue Tsgo

version downloads license

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.

Installation

pnpm i -D vue-tsgo

Usage

# single project
pnpm vue-tsgo --project .nuxt/tsconfig.app.json

# multiple projects (references)
pnpm vue-tsgo --build

# custom typescript entry
pnpm vue-tsgo --tsdk typescript7

Contributors

KazariEX

115 commits

sandros94

6 commits

so1ve

1 commits

KazariEX/vue-tsgo

Type checker for Vue SFCs with TypeScript 7 integration.

TypeScript

102

122 commits

updated Jul 9, 2026

See the code

README

Vue Tsgo

version downloads license

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.

Installation

pnpm i -D vue-tsgo

Usage

# single project
pnpm vue-tsgo --project .nuxt/tsconfig.app.json

# multiple projects (references)
pnpm vue-tsgo --build

# custom typescript entry
pnpm vue-tsgo --tsdk typescript7

Contributors

KazariEX

115 commits

sandros94

6 commits

so1ve

1 commits

Languages

TypeScript

99.2%