admin-vben/packages/constants
vben e6403868fc chore: update packages 2024-07-30 21:00:20 +08:00
..
src feat: Feature/pro docs (#70) 2024-07-28 14:29:05 +08:00
README.md chore: @vben-core/iconify was renamed @vben-core/icons. Add readme.md for some packages 2024-07-14 22:51:10 +08:00
build.config.ts feat(other): The menu supports jumping to external links and fixing some known problems 2024-05-21 21:45:48 +08:00
package.json chore: update packages 2024-07-30 21:00:20 +08:00
tsconfig.json chore: update packages 2024-07-30 21:00:20 +08:00

README.md

@vben/constants

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

用法

添加依赖

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

使用

import { useNamespace } from '@vben/hooks';