Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 416 Bytes

README.MD

File metadata and controls

24 lines (16 loc) · 416 Bytes

vue-transform-ts

Transform vue files to class ts vue files.

Usage

npm i vue-transform-ts -g

yarn global add vue-transform-ts

run vue2ts -h for help

Feature

transform list

  • data
  • computed
  • methods
  • watch
  • props

others will marge to @compoenent decorator.

Js files whose names contain mixins are also processed.

You can also use import { transform } from 'vue-transform-ts'