admin-vben/packages/effects/hooks
Vben 56bdb8f606
chore: use pnpm catalog (#4437)
* feat: use pnpm catalog

* fix: lint error
2024-09-19 21:40:54 +08:00
..
src fix(@vben/web-ele): fixed some style issues in dark mode (#4298) 2024-09-01 22:33:11 +08:00
README.md feat: add swap component (#4149) 2024-08-14 20:37:21 +08:00
package.json chore: use pnpm catalog (#4437) 2024-09-19 21:40:54 +08:00
tsconfig.json feat: Feature/pro docs (#70) 2024-07-28 14:29:05 +08:00

README.md

@vben/hooks

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

用法

添加依赖

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

使用

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