Files
EasyFlow/easyflow-ui-usercenter/packages/constants/README.md
2026-02-22 18:56:10 +08:00

381 B

@easyflow/constants

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

用法

添加依赖

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

使用

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