| | |
| | | # information-standard-tpl |
| | | # information-standard |
| | | |
| | | ## 安装环境 |
| | | |
| | | 安装[nodeJs](https://nodejs.cn/)环境,下载 nodejs,安装完成后, |
| | | |
| | | ```js |
| | | node - v |
| | | ``` |
| | | |
| | | ## 安装 yarn |
| | | |
| | | ```js |
| | | npm install -g yarn |
| | | ``` |
| | | |
| | | ## 安装依赖 |
| | | ## 安装 |
| | | |
| | | ```js |
| | | yarn |
| | |
| | | |------hook.ts //钩子 |
| | | |------... |
| | | index.html |
| | | ``` |
| | | |
| | | ## 快速开始 |
| | | |
| | | ### 开发分为主仓库基座: information-base 和标准组件及定制化组件 |
| | | |
| | | 开发流程为: |
| | | |
| | | #### 1、拉取基座仓库 |
| | | |
| | | ```bash |
| | | git clone https://gitlab.syc-cms.com/lmes-plugin/web/information-base.git |
| | | ``` |
| | | |
| | | #### 2、拉取子仓库组件 |
| | | |
| | | ```bash |
| | | yarn pull |
| | | ``` |
| | | |
| | | #### 3、按需要是否将所有组件切换到指定分支 |
| | | |
| | | ``` |
| | | yarn checkout 【分支名】 |
| | | ``` |
| | | |
| | | ## 功能 |
| | |
| | | onClick={onAddProcess} |
| | | type="primary" |
| | | > |
| | | 添加MyEntityName |
| | | 添加工序 |
| | | </IconButton> |
| | | |
| | | ``` |