You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dap a4a7f7d096
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
4 months ago
..
src Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 1 year ago
README.md feat: add swap component (#4149) 1 year ago
global.d.ts feat: websocket功能 (默认关闭) 6 months ago
package.json chore: release 5.5.9 4 months ago
tsconfig.json chore: update packages 1 year ago

README.md

@vben/types

用于多个 app 公用的工具类型,继承了 @vben-core/typings 的所有能力。业务上有通用的类型定义可以放在这里。

用法

添加依赖

# 进入目标应用目录,例如 apps/xxxx-app
# cd apps/xxxx-app
pnpm add @vben/types

使用

// 推荐加上 type
import type { SelectOption } from '@vben/types';