vocano-ui component library
A style component library created using React+typescript
Install the last published component library to try
npm install vocano - ui -- save
use
// 加载样式
import 'vocano-ui/dist/index.css' ;
// 引入组件
import { Button } from 'vocano-ui' ; Highlights
- typescript with React Hooks
- ⛑️Use react-testing-library to complete unit tests
- Debugging and generating document pages locally with Dumi
- Automatically generate documents using react-doc-gen
- ? Use third-party libraries to expand components - (react-fontawesome, react-transition-group)
- ? All processes involved, including the last npm publish, husky pre-post verification, travis CI/CD integration, document publishing site, etc.
Some local development commands
//启动本地环境
npm run start:docs
//跑单元测试
npm test
//build可发布静态文件
npm run build
//发布到 npm
npm publish