Skip to content

dm66/test-dumi-father-lib

Repository files navigation

test-dumi-father-lib

了解 father: https://github.com/umijs/father

教你使用 Dumi 和 father-build 快速搭建 React 组件库: https://juejin.cn/post/6904795653243994125#heading-11

Dumi:主要功能是构建组件库文档,并发布到 GitHub Pages; father:用来将写好的组件打包生成模块,以供直接发布到 npm;

Getting Started

安装依赖

$ yarn

运行服务,

$ yarn start

构建组件库文档,

$ yarn docs:build

发布组件库文档到 github pages,

$ yarn docs:deploy

运行测试用例,

$ yarn test

通过 father 构建组件库,

$ yarn build

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published