0.0.3 • Published 4 years ago

@xupengfly2061/master v0.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

choerodon-front-master

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

启动

npm install
npm start

npm install完毕之后你可能需要把./node_modules/@xupengfly2061下的boot文件夹覆盖到./node_modules/@choerodon下(目的:升级@choerodon/boot从0.19.2升级到0.20.0)

访问 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

  • LoadingBar

  • Action

  • Permission

  • Remove

  • axios

  • store

  • stores

  • nomatch

  • noaccess

  • asyncLocaleProvider

  • asyncRouter

  • WSHandler

  • PageTab

  • PageWrap

  • TabPage

  • StatusTag

  • Breadcrumb

  • Choerodon