admin-vben/packages/constants
YunaiV c9a32ba780 ```text
refactor: 迁移模块 constants 到共享常量包

- 新增 MES/WMS 共享业务常量导出
- 将 Mall 客服、IoT 缺失常量合并到 @vben/constants
- 替换各模块本地 constants 引用
- 删除模块内重复 constants 文件
```
2026-05-30 16:51:13 +08:00
..
src ```text 2026-05-30 16:51:13 +08:00
README.md refactor: modify the default homepage path loaded from the preference… (#6099) 2025-05-03 16:03:08 +08:00
package.json chore: release 5.7.0 2026-03-14 09:14:23 +08:00
tsconfig.json chore: update packages 2024-07-30 21:00:20 +08:00

README.md

@vben/constants

用于多个 app 公用的常量,继承了 @vben-core/shared/constants 的所有能力。业务上有通用常量可以放在这里。

用法

添加依赖

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

使用

import { LOGIN_PATH } from '@vben/constants';