admin-vben/packages/constants
vince 3eb7a8bc6f chore: @vben-core/iconify was renamed @vben-core/icons. Add readme.md for some packages 2024-07-14 22:51:10 +08:00
..
src feat: add @vben/hooks and @vben-core/constants 2024-07-13 16:53:22 +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 feat: add @vben/hooks and @vben-core/constants 2024-07-13 16:53:22 +08:00
tsconfig.json chore: update deps 2024-06-02 23:46:18 +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';