unplugin-vue
Transform Vue 3 SFC to JavaScript.
Features
- ⚡️ Support Vite, Webpack, Vue CLI, Rollup, esbuild and more, powered by unplugin.
- ✨ Support
<script setup>
and macros. - 🔥 Hot module replacement (HMR) support for Vite.
- 🔄 Sync code from @vitejs/plugin-vue periodically. Currently based on @vitejs/[email protected].
Who is using
- Vue Macros - Explore and extend more macros and syntax sugar to Vue.
- vue-components-lib-seed - A vue3.0 components library template.
- Element Plus icon
Alternatives
- @vitejs/plugin-vue - For Vite and Vue 3.
- @vitejs/plugin-vue2 - For Vite and Vue 2.
- unplugin-vue2 - For Vue 2.7+ and Vite, esbuild, Rollup, Webpack or more.
- vue-loader - For Webpack.
- esbuild-plugin-vue - For esbuild and Vue 3.
- esbuild-vue - For esbuild and Vue 2.
vite-plugin-vue2 - For Vite and Vue 2.rollup-plugin-vue- ⚠️ no longer maintained.
Thanks
- Vite - Next generation frontend tooling. It's fast!
- unplugin - Unified plugin system for Vite, Rollup, Webpack, and more
- vite-plugin-vue - This project is inherited from it.