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 3eb7a8bc6f
chore: @vben-core/iconify was renamed @vben-core/icons. Add readme.md for some packages
2 years ago
..
src refactor(project): remove the use of core internal bem syntax 2 years ago
README.md chore: @vben-core/iconify was renamed @vben-core/icons. Add readme.md for some packages 2 years ago
build.config.ts feat: add @vben/hooks and @vben-core/constants 2 years ago
package.json refactor(project): remove the use of core internal bem syntax 2 years ago
tsconfig.json feat: add @vben/hooks and @vben-core/constants 2 years ago

README.md

@vben/hooks

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

用法

添加依赖

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

使用

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