admin-vben/packages/constants
hw 0ea99e5aa8 fix: ele改回使用账号选择组件 2025-11-20 11:05:18 +08:00
..
src fix: ele改回使用账号选择组件 2025-11-20 11:05:18 +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.5.9 2025-08-16 22:16:02 +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';