admin-vben/packages/effects/hooks
jinmao88 d9ba9917ff
fix: an error was reported in the adaptation of the naive component library theme (#4041)
* fix: naive组件库 主题适配报错,需将hsl转换为rgb格式

* feat: 增加NDataTable示例

* chore: hsl转换函数移动到@vben/utils内

* fix: 优化正则表达式

* fix: 优化正则表达式2

* fix: 正则表达式优化,优化hlsStringToRGB函数

* fix: 使用tinyColor进行转换

* Update packages/@core/base/shared/src/colorful/convert.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: lint error

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: vince <vince292007@gmail.com>
2024-08-07 12:13:54 +08:00
..
src fix: an error was reported in the adaptation of the naive component library theme (#4041) 2024-08-07 12:13:54 +08:00
README.md refactor(project): re-adjust the overall folder 2024-07-23 00:03:59 +08:00
package.json chore: update deps 2024-08-01 21:12:34 +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';