
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
@vue/typescript-plugin
Advanced tools
A TypeScript language service plugin that enables tsserver to understand .vue files. This plugin is used by @vue/language-server to collaborate with the TypeScript language service.
npm install @vue/typescript-plugin --save-dev
Create .vscode/settings.json in your project root:
{
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
{
"compilerOptions": {
"plugins": [
{ "name": "@vue/typescript-plugin" }
]
}
}
This plugin registers the following Vue-specific commands for tsserver:
| Command | Description |
|---|---|
_vue:projectInfo | Get project information |
_vue:collectExtractProps | Collect extractable props |
_vue:getImportPathForFile | Get import path for a file |
_vue:getAutoImportSuggestions | Get auto-import suggestions |
_vue:resolveAutoImportCompletionEntry | Resolve auto-import completion entry |
_vue:isRefAtPosition | Check if position is a ref |
_vue:getComponentDirectives | Get component directives |
_vue:getComponentMeta | Get component metadata |
_vue:getComponentNames | Get component name list |
_vue:getComponentProps | Get component props |
_vue:getComponentSlots | Get component slots |
_vue:getElementAttrs | Get element attributes |
_vue:getElementNames | Get element name list |
_vue:resolveModuleName | Resolve module name |
_vue:documentHighlights-full | Document highlights |
_vue:encodedSemanticClassifications-full | Semantic classifications |
_vue:quickinfo | Quick info |
This plugin is created using createLanguageServicePlugin from @volar/typescript. It:
vueCompilerOptions from tsconfig.json.vue files@vue/language-core - Core module@vue/language-server - Language servervue-component-meta - Component metadataMIT License
FAQs
<a href="https://github.com/vuejs/language-tools/blob/master/LI
The npm package @vue/typescript-plugin receives a total of 68,566 weekly downloads. As such, @vue/typescript-plugin popularity was classified as popular.
We found that @vue/typescript-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.