1.2.6-alpha.1 • Published 1 year ago
dr-components v1.2.6-alpha.1
🌟 Dumi Template
电容 react 公共组件库
🚀 如何使用?
├── docs 文档存放路径
│ ├── index.md 首页展示
│ └── **.** 网站目录文档
├── src 组件主目录
│ ├── index.ts 组件注册
│ └── Foo 组件开发
├── .eslintrc.js eslint 配置
├── .fatherrc.ts father 配置
├── .umirc.ts dumi 配置
└── tsconfig.json typescript 配置
最好使用 pnpm 进行 install 否则可能会有很多问题
🤖 命令介绍
名称 | 描述 | 备注 |
---|---|---|
npm run dev | 项目启动 | 使用 dumi,组件开发和文档开发在一起 |
npm run prettier | 代码美化 | - |
npm run build | 组件打包 | 使用 father 工具 |
npm run release | 组件打包发布 | - |
npm run docs | 文档打包 | - |
npm run deploy | 文档打包发布 | - |