GithubHelp home page GithubHelp logo

mrgu1609 / react-antd-admin-pnpm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anyone-yuren/react-antd-admin-pnpm

0.0 0.0 0.0 53.2 MB

基于react18, antd5开发的gbeata-admin 后台管理系统,gbeata组件库

Home Page: https://anyone-yuren.github.io/react-antd-admin-pnpm/

Shell 0.02% JavaScript 2.29% TypeScript 94.98% HTML 0.13% Less 2.59%

react-antd-admin-pnpm's Introduction

monorepo react-admin集成方案

简介

方案集成当下最流行的一些前端框架和库做集成,致力于构建一套通用型强的前端后台管理系统解决方案。

动机 | 为什么想做这个

antd5已经发布很久了,之前一直在维护的一套基于antd4版本的方案由于一直在内部项目中迭代,没办法抽出时间升级,随着前端技术的迭代更新和业务需求的不断扩展,趁着内部升级的机会,也把这一年多在项目中沉淀的一些技术方案做一次整理分享。

特性

它能做什么

本方案中会集成当下主流的前端设计思路,虽然当下关于react的后台模板,市面上可选择性很多,但与其他方案不同的是,关注功能组件与业务组件开发的同时,更多的精力会放在代码本身的原子化设计和解耦上,具备的特性包括(持续补充

  • 组件库设计
  • admin设计
  • CICD持续集成
  • 容器化部署
  • 代码规范设计
  • ...

建设目标

  • pnpm turbo vite 集成方案搭建
  • 配置代码提交规范与自动化部署
  • antd5组件库开发
  • 分包设计与应用设计
  • 微前端接入
  • 模板编写

第一阶段:组件库设计阶段

  • 完成组件库编写和测试
  • 升级antd4 => antd5, 升级react与dumi、umi为最新版;
  • 完成组件库自动发布npm
  • 发布组件库文档
  • 发布gitPage
  • 新增spring/web动画组件

第二阶段:react-antd-admin模板搭建

  • 技术选型
  • 框架设计
  • 主题设计
  • 登录页设计
  • 状态管理(zustand)
  • 路由设计,使用loadable-compoment替代React.lazy
  • 主题控制面板
  • 模块高亮搜索

分支管理

发布组件库分支: main

后台管理模板分支: admin

注意点:

  1. 使用semantic-release做自动化发布时,不需要打包的子包,设置"private": true

  2. 项目中less改造antd-style写法:

npx @chenshuai2144/less2cssinjs less2js -i src

贡献

欢迎 PR,您可以直接找我讨论,QQ: 1003473088,如果这是一个很大的变化!

react-antd-admin-pnpm's People

Contributors

niyg-mw avatar anyone-yuren avatar semantic-release-bot avatar

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.