0.1.0 • Published 2 years ago

vue-ts-props-plugin-vite v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

What is this

This is a plugin to implement this.It will compiler code defineComponent((props:Props)=>(()=>JSX))) to defineComponent({props,setup}).

Install

//vite
yarn install vue-ts-props-plugin-vite

Usage

//vite
import { defineConfig } from "vite";
import { VueTSPropsPlugin } from "vue-ts-props-plugin-vite";
export default defineConfig({
  plugins:[VueTSPropsPlugin()]
}) 

License