@frangio/vue-ts-plugin

0.2.0 • Public • Published

TypeScript Language Service Plugin for Vue

This is a fork of vue-ts-plugin updated for Vue 3.

It works by monkeypatching TypeScript Language Server functionality in ways that were probably not intended by the TypeScript developers, so it should be considered experimental.

It uses @vue/compiler-sfc to parse out the script section of a .vue file and forward that to the TypeScript Language Server.

Instructions

  1. $ npm install @frangio/vue-ts-plugin
  2. Add plugin to tsconfig.
{
  "compilerOptions": {
    "plugins": [{ "name": "@frangio/ts-vue-plugin" }]
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @frangio/vue-ts-plugin

Weekly Downloads

1

Version

0.2.0

License

Apache-2.0

Unpacked Size

14.9 kB

Total Files

4

Last publish

Collaborators

  • frangio