Twoslash for Vue SFCs

JSON →
library 0.3.8 ·javascript
verified May 27, 2026

Twoslash-vue is an extension for the Twoslash library, specifically designed to bring its powerful TypeScript language server features to Vue Single File Components (SFCs). It enables rich code insights such as type on hover, compilation errors, and code completions directly within Vue `<script setup>` and `<script>` blocks, as well as the template context when supported by underlying Vue language tools. The current stable version is 0.3.8, and the package maintains a relatively active release cadence, frequently updating to support the latest TypeScript versions (currently ^5.5.0 || ^6.0.0) and integrating with advancements in the `@vue/language-core` library. Its key differentiator is its specialized focus on the complexities of Vue SFCs, providing a robust solution for developers looking to document and explain Vue code with accurate type inference and diagnostics, leveraging the established Twoslash ecosystem rather than being a standalone tool for Vue.

total hits 16
actors 6 distinct systems
last hit 4d ago AhrefsBot
GPTBot
5
MetaBot
4
Script
1
Search engines
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France