第1章 Unplugin 插件展示
概览
以下是一些由 unplugin 团队维护的 unplugins,更多插件请访问 npmx.unplugin。
unplugin-icons🤹 将数千个图标按需以组件形式跨平台使用
TypeScript 4,937 160 unplugin/unplugin-vue-components
📲 Vue 组件按需自动导入
TypeScript 4,293 378 unplugin/unplugin-auto-import
为 Vite、Webpack 和 Rollup 按需自动导入 API
TypeScript 3,797 217 unplugin/unplugin-turbo-console
🚀 提升 console 的开发体验
TypeScript 709 14 unplugin/unplugin-vue-markdown
将 Markdown 编译为 Vue 组件
TypeScript 625 38 unplugin/unplugin-macros
面向打包工具的 Macros 插件。
TypeScript 281 12 unplugin/unplugin-swc
面向 Vite 和 Rollup 的 SWC 插件
TypeScript 274 19 unplugin/unplugin-vue
✨ 将 Vue 3 SFC 转换为 JavaScript,支持 Vite、esbuild、Rollup、Webpack 等工具。
TypeScript 273 15 unplugin/unplugin-imagemin
📦 基于 squoosh-next 的图片压缩插件
TypeScript 261 23 unplugin/unplugin-isolated-decl
⚡️ 一个极速生成 isolated declarations 的工具。
TypeScript 193 8 unplugin/unplugin-preprocessor-directives
面向 jsx、tsx、js、ts、html、css、vue 等的预处理指令插件
TypeScript 131 14 unplugin/unplugin-unused
检查未使用的依赖。
TypeScript 111 5 unplugin/unplugin-ast
操作 AST 来转换你的代码。
TypeScript 100 3 unplugin/unplugin-replace
一个通用的打包工具插件,用于替换文件中的目标字符串。
TypeScript 21 2
加入我们!
我们已创建了一个 GitHub 组织,用于托管热门的 unplugins 并展开协作。你可以在那里找到 unplugin 团队维护的更多插件,甚至可以带上你自己的插件加入我们!