@choerodon/master

A package of Master for Choerodon platform.


Keywords
choerodon, master, react
License
ISC
Install
npm install @choerodon/master@1.1.3

Documentation

choerodon-front-master

猪齿鱼前端框架,从原来的choerodon-front-boot中完全抽离出了页面显示的逻辑。

需要配合 choerodon-front-boot 使用。

启动

npm install
npm start

访问 http://localhost:9090/ 查看效果

打包发布

npm install
npm run compile
npm publish

功能

  • 菜单处理
  • Header处理
  • 右上角通知处理
  • 项目列表
  • 无授权页面的实现
  • 授权失效页面的实现
  • 通用Stores (AppState、MenuStore、HeaderStore)
  • axios对象的封装
  • 404页、403页的处理

在项目中使用

查看demo项目创建说明CREATE_PROJECT.md

组件

  • MasterHeader

  • CommonMenu

  • Page

  • Content

  • Header

  • Loading

  • Action

  • Permission

  • Remove

  • axios

  • store

  • stores

  • nomatch

  • noaccess

  • asyncLocaleProvider

  • asyncRouter

  • WSHandler

  • PageTab

  • PageWrap

  • TabPage

  • StatusTag

  • Breadcrumb

  • Choerodon