@vue-macros/define-props

defineProps feature from Vue Macros.


Keywords
vue-macros, macros, vue, sfc, setup, script-setup, define-props, unplugin, esbuild, options, rollup, rsbuild, rspack, vite, vuejs, webpack
License
MIT
Install
npm install @vue-macros/define-props@4.0.3

Documentation

Vue Macros

Explore more macros and syntax sugar to Vue.

NPM version

Features

  • ✨ Explore more macros and syntax sugar to Vue.
  • 💚 Supports both Vue 2.7 and Vue 3 out-of-the-box.
  • 🦾 Full TypeScript / Volar support.
  • ⚡️ Supports most bundlers powered by unplugin.
    • Vite, Nuxt
    • Webpack, Rspack, Vue CLI
    • Rollup 3
    • esbuild
    • and more...

Installation

npm i -D unplugin-vue-macros

Usage

📜 Documentation

Sponsors

Contributors

💕 Thank you to all the contributors!

Related Libraries

License

MIT License © 2022-PRESENT 三咲智子