|
Download packages/effects/hooks/README.md from binhugg3/admin: direct link, hf CLI and curl.
- Browser
- Download file 339 Bytes
-
https://huggingface.co/spaces/binhugg3/admin/resolve/main/packages/effects/hooks/README.md
- Command line
-
hf download hf://spaces/binhugg3/admin/packages/effects/hooks/README.md
-
curl -L -o README.md https://huggingface.co/spaces/binhugg3/admin/resolve/main/packages/effects/hooks/README.md
339 Bytes
| # @vben/hooks | |
| 用于多个 `app` 公用的 hook,继承了 `@vben/hooks` 的所有能力。业务上有通用 hooks 可以放在这里。 | |
| ## 用法 | |
| ### 添加依赖 | |
| ```bash | |
| # 进入目标应用目录,例如 apps/xxxx-app | |
| # cd apps/xxxx-app | |
| pnpm add @vben/hooks | |
| ``` | |
| ### 使用 | |
| ```ts | |
| import { useNamespace } from '@vben/hooks'; | |
| ``` | |