Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork13
✨ Transform Vue 3 SFC to JavaScript. Supports Vite, esbuild, Rollup, Webpack and more.
License
NotificationsYou must be signed in to change notification settings
unplugin/unplugin-vue
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Transform Vue 3 SFC to JavaScript.
- ⚡️ Support Vite, Webpack, Vue CLI, Rollup, esbuild and more, powered byunplugin.
- ✨ Support
<script setup>and macros. - 🔥 Hot module replacement (HMR) support for Vite.
- 🔄 Sync code from@vitejs/plugin-vue periodically.Currently based on@vitejs/plugin-vue@6.0.0.
npm i -D unplugin-vue
Vite
// vite.config.tsimportVuefrom'unplugin-vue/vite'exportdefaultdefineConfig({plugins:[Vue()],})
Rollup
// rollup.config.jsimportVuefrom'unplugin-vue/rollup'exportdefault{plugins:[Vue()],}
Rolldown
// rolldown.config.jsimportVuefrom'unplugin-vue/rolldown'exportdefault{plugins:[Vue()],}
esbuild
import{build}from'esbuild'importVuefrom'unplugin-vue/esbuild'build({plugins:[Vue()],})
Webpack
// webpack.config.jsimportVuefrom'unplugin-vue/webpack'exportdefault{/* ... */plugins:[Vue()],}
Rspack
// rspack.config.jsimportVuefrom'unplugin-vue/rspack'exportdefault{/* ... */plugins:[Vue()],}
Farm
// farm.config.tsimportVuefrom'unplugin-vue/farm'exportdefault{/* ... */plugins:[Vue()],}
- Vue Macros - Explore and extend more macros and syntax sugar to Vue.
- Vue DevTools - ⚙️ Browser devtools extension for debugging Vue.js applications.
- Element Plus icon
- Onu UI - Opinionated and lightweight UnoCSS ui library.
- vue-components-lib-seed - A vue3.0 components library template.
- @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.
- 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.
MIT License © 2021-PRESENTKevin Deng
About
✨ Transform Vue 3 SFC to JavaScript. Supports Vite, esbuild, Rollup, Webpack and more.
Topics
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Contributors9
Uh oh!
There was an error while loading.Please reload this page.