Awesome
<p align="center"> <img src="./docs/public/logo.svg" width="200px" /> </p> <h1 align="center">Vue Macros</h1> <p align="center">Explore more macros and syntax sugar to Vue.</p> <p align="center"> <a href="https://npmjs.com/package/unplugin-vue-macros"> <img src="https://img.shields.io/npm/v/unplugin-vue-macros.svg" alt="NPM version"> </a> </p>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
Sponsors
<p align="center"> <a href="https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.wide.svg"> <img src='https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.wide.svg'/> </a> </p>Contributors
💕 Thank you to all the contributors!
<p align="center"> <a href="https://github.com/vue-macros/vue-macros/graphs/contributors"> <img src="https://contrib.rocks/image?repo=vue-macros/vue-macros" /> </a> </p>Related Libraries
- vue-functional-ref - Functional-style refs for Vue.
- Vue Vine - Another style of writing Vue components.