admin-vben5/packages/constants/README.md
aonoa 41152d1722
refactor: modify the default homepage path loaded from the preference… (#6099)
* refactor: modify the default homepage path loaded from the preferences.ts

Signed-off-by: aonoa <1991849113@qq.com>

* refactor: modify the default homepage path loaded from the preferences.ts

Signed-off-by: aonoa <1991849113@qq.com>

---------

Signed-off-by: aonoa <1991849113@qq.com>
2025-05-03 16:03:08 +08:00

365 B

@vben/constants

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

用法

添加依赖

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

使用

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