1.2.0 • Published 1 year ago
gov-digital-hooks-lib v1.2.0
gov-digital-hooks-lib
数字杭州 React Hooks 库
Docs
http://172.18.47.187:4342/hook
Usage
npm install gov-digital-hooks-lib --save
非 React Component 环境使用
在非 React Component 环境使用时,可以引入 utils 使用功能(不推荐)
import { findTreeNode } from 'gov-digital-hooks-lib/dist/utils';
Development
# install dependencies
$ pnpm install
# develop library by docs demo
$ pnpm start
# build library source code
$ pnpm run build
# build library source code in watch mode
$ pnpm run build:watch
# build docs
$ pnpm run docs:build
# check your project for potential problems
$ pnpm run doctor
LICENSE
MIT
1.2.0
1 year ago