0.0.3 • Published 3 years ago

vite-plugin-simplify-props v0.0.3

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

vite-plugin-simplify-props

It will make your writing easier

Install

  npm i vite-plugin-simplify-props

Usage

  import SimplifyPlugin from 'vite-plugin-simplify-props'
  import { defineConfig } from 'vite'

  export default defineConfig({
    plugins: [
      SimplifyProps(),
    ]
  })
    <Footer {name}/>

Transpiles the same as in Vue

    <Footer :name="name" />

Transpiles the same as in React

    <Footer name={name} />

License

MIT License © 2022 Simon He

sponsors