Skip to content
This repository was archived by the owner on Jul 19, 2026. It is now read-only.

Repository files navigation

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

About

Type checker for Vue SFCs with TypeScript 7 integration.

Resources

Stars

102 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages