### 快速上手

::: tip 提示

zzfund-ui 基于 vue3 + ts + zzfund-ui-base 再次封装的业务组件

:::

### 安装

```bash:no-line-numbers
npm install zzfund-ui -S
&
yarn add zzfund-ui -S
```

### 使用

```js
// main.ts
import ZZfundUi from 'zzfund-ui';
import 'zzfund-ui/lib/style.css';
const app = createApp(App);
app.use(ZZfundUi);
app.mount('#app');
```

### docs 文档结构目录

```
├─ examples               # VPDemo组件自动解析此文件夹下的所有.vue文件
├─ components             # .md文件
├─ public                 # 静态资源文件
├─ .vitepress
│  ├─ config              # 插件配置
|  │  ├─ global.ts        # 全局变量定义
|  │  └─ plugins.ts       # 自定义.md文件渲染
│  ├─ theme               # 主题配置
│  ├─ utils               # 文档展开隐藏代码高亮
│  ├─ vitepress
|  │  ├─ vp-demo          # VPDemo组件源码
|  │  ├─ style            # VPDemo组件样式
|  │  └─ index.ts         # 暴露VPDemo组件
│  └─ config.ts           # vitepress配置文件
├─ index.md               # 文档home页面
├─ tsconfig.json          # typescript 全局配置
└─ vite.config.ts         # vite 全局配置文件（支持tsx）
```
