admin-vben/packages/effects/hooks
Li Kui 4074a88c13
feat: element-plus app (#32)
* chore: init project

* chore: install element-plus

* chore: locale config

* fix: eslint error

* chore: merge from main

* fix: lint

* chore: finish todo

* chore: update comments

* chore: update

* fix: lint error

* chore: add unplugin-element-plus

* chore: add useElementPlusDesignTokens

* chore: configure some color
2024-07-31 21:22:43 +08:00
..
src feat: element-plus app (#32) 2024-07-31 21:22:43 +08:00
README.md refactor(project): re-adjust the overall folder 2024-07-23 00:03:59 +08:00
build.config.ts refactor(project): re-adjust the overall folder 2024-07-23 00:03:59 +08:00
package.json refactor: Integrate the @vben-core/shared package 2024-07-30 21:05:03 +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 --workspace

使用

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