Giter Club home page Giter Club logo

antd-plus's Introduction

antd-plus

基于antd的业务组件库

https://plus.getshell.cn/

如何使用

$ npm i @@hfuuss/antd-plus -D
import React from 'react';
import { Button } from '@hfuuss/antd-plus';
export default () => <Button/>;

todolist

  • 规范目录
  • 发布优化
  • 规范测试目录
  • 基于antd的 增删改查组件 https://plus.getshell.cn/ 目前已经有一个【查询组件】
  • 定制一个后端接口协议 改造成通用的解决方案 (旧项目可以增加一层bff对接前后端协议)
  • curd基础组件积累到一定程度,可配置化开发 • 切不可像 https://protable.ant.design/ 过度封装。(服务内部系统可以) • 尽量拆分到小颗粒,遵循低耦合,高内聚的**。推崇 组合模式 • 参考 antd pro,ice pro 等系统的布局

如何开发

安装依赖,

$ npm i

开启服务,

$ npm start

构建文档,

$ npm run docs:build

如何发布

发布前测试

$ npm run test
$ npm run test:coverage

如何发布文档

$ git push origin -u master

访问https://github.com/hfuuss/antd-plus/releases 创建releases,自动构建到https://plus.getshell.cn/

如何发布组件库

修改 package.json 版本

通过 father-build 构建组件库,

$ npm run init && npm run build

发布组件库到npm

$ npm publish 

其他

开发的过程发现每次push的时候,都会发布到自动发文档。查了一下文档,原来是我接了git持续集成的功能。 这样并不适合我的项目,我们项目,应该在每次realease的时候再发布。到setting里面,取消持续集成即可。

文档地址: https://vercel.com/docs/v2/git-integrations

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.