0.1.0 • Published 9 months ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months 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

0.1.0

9 months ago

0.0.1

11 months ago