chore: @vben-core/iconify was renamed @vben-core/icons. Add readme.md for some packages
This commit is contained in:
20
packages/types/README.md
Normal file
20
packages/types/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# @vben/types
|
||||
|
||||
用于多个 `app` 公用的工具类型,继承了 `@vben-core/typings` 的所有能力。业务上有通用的类型定义可以放在这里。
|
||||
|
||||
## 用法
|
||||
|
||||
### 添加依赖
|
||||
|
||||
```bash
|
||||
# 进入目标应用目录,例如 apps/xxxx-app
|
||||
# cd apps/xxxx-app
|
||||
pnpm add @vben/types --workspace
|
||||
```
|
||||
|
||||
### 使用
|
||||
|
||||
```ts
|
||||
// 推荐加上 type
|
||||
import type { SelectOption } from '@vben/types';
|
||||
```
|
Reference in New Issue
Block a user