vue-transform-ts
v1.0.0
Published
Transform vue options component to class component
Downloads
2
Maintainers
Readme
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'