# vite-plugin-uni-components **Repository Path**: asd2015/vite-plugin-uni-components ## Basic Information - **Project Name**: vite-plugin-uni-components - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-07 - **Last Updated**: 2026-04-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README banner
从 **unplugin-vue-components** 派生并修改以适应Uniapp。 ## 安装 ```bash pnpm i -D @uni-helper/vite-plugin-uni-components ``` ## 使用 📖 **请阅读[完整文档](https://uni-helper.js.org/vite-plugin-uni-components)了解完整使用方法!** ```ts // vite.config.ts import Uni from '@dcloudio/vite-plugin-uni' import Components from '@uni-helper/vite-plugin-uni-components' import { defineConfig } from 'vite' export default defineConfig({ plugins: [ Components(), // 需要在 Uni() 之前调用 Uni(), ], }) ``` ## 感谢 - [vite-plugin-uni-components](https://github.com/unplugin/unplugin-vue-components)