Git Product home page Git Product logo

react_admin's Introduction

在线链接

项目地址

组件库文档地址

umi project

Getting Started

npm Install dependencies,recommend use npm 7+

npm install

Start the dev server,

npm start

or

yarn Install dependencies

yarn

Start the dev server,

yarn start

deploy部署远程服务器

npm run deploy

部署前需要更改client文件的远程服务器配置

项目目录

examine
├─ mock               // 模拟数据
├─ nodeServer         // nodeJs的一些demo
├─ public             // 全局静态资源 
├─ Readme             // 学习笔记
├─ src  
│  ├─ api             // api函数
│  ├─ assets          // 静态资源
│  ├─ axios           // CORS 跨域 请求封装
│  ├─ component       // 组件
│  ├─ constants       // 常量
│  ├─ enum            // 枚举
│  ├─ globalContext   // useContext + useReducer实现mini状态管理
│  ├─ hooks           // 自定义hooks
│  ├─ layouts         // 布局
│  ├─ pages           // 页面
│  ├─ plugins         // umi的插件
│  └─ utils           // 方法
├─ config.router.ts   // 布局菜单配置
├─ package.json
├─ README.md
├─ tsconfig.json      // ts配置
├─ typings.d.ts       // ts第三方声明
├─ yarn-error.log
└─ yarn.lock

提交规范

  • ✨feat:新功能(feature)
  • 🐛fix:修补bug
  • 📝docs:文档(documentation)
  • 💄style:格式(不影响代码运行的变动)
  • 🎨refactor:重构(即不是新增功能,也不是修改bug的代码变动)
  • test:增加测试
  • 🔧chore:构建过程或辅助工具的变动
  • ⚡perf:性能优化(performance)
  • tmp:临时提交(可用于非 master 分支)

合并代码

git rebase 变基合并

git rebase xxx //xxx为分支名称 

git merge (会污染提交记录提交记录会多出一条merge oldBranch into newBranch的提交记录)

git merge xxx // xxx为新分支

react_admin's People

Contributors

dreamchaser-lcc avatar

Watchers

 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.