You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vince 14538f7ed5
refactor(project): re-adjust the overall folder
1 year ago
..
src feat: add @vben/hooks and @vben-core/constants 1 year ago
README.md chore: @vben-core/iconify was renamed @vben-core/icons. Add readme.md for some packages 1 year ago
build.config.ts feat(other): The menu supports jumping to external links and fixing some known problems 2 years ago
package.json refactor(project): re-adjust the overall folder 1 year ago
tsconfig.json chore: update deps 2 years ago

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';