{"library":"vue-macros","type":"library","category":null,"description":"Vue Macros is a collection of experimental and advanced compiler macros and syntax sugar designed to significantly enhance the development experience for Vue.js Single File Components (SFCs). It serves as a playground for new language features and proposals that extend Vue's capabilities beyond its official API, often simplifying boilerplate and improving reactivity patterns. The current stable version is 3.1.2, with an active release cadence reflecting ongoing development and frequent updates. Key differentiators include its modular nature, allowing developers to selectively enable specific macros, and its integration as an `unplugin`, providing broad compatibility across various build tools like Vite, Rollup, Webpack, and Nuxt. It brings features like `defineOptions`, `defineModels`, and `definePropsRefs` that streamline component definition and data flow, offering type safety and improved developer ergonomics.","language":"javascript","status":"active","version":"3.1.2","tags":["javascript","vue-macros","macros","vue","sfc","setup","script-setup","unplugin","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-macros","imports":["import VueMacros from 'unplugin-vue-macros/vite'","import VueMacros from 'unplugin-vue-macros/rollup'","/// <reference types=\"unplugin-vue-macros/macros-global\" />"]},{"cmd":"yarn add vue-macros","imports":[]},{"cmd":"pnpm add vue-macros","imports":[]}],"homepage":"https://vue-macros.dev","github":"https://github.com/vue-macros/vue-macros","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-macros","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-macros/compatibility"}}