# redcat-example-app **Repository Path**: ywkj2014/redcat-example-app ## Basic Information - **Project Name**: redcat-example-app - **Description**: 红猫平台定制前端模板项目 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-23 - **Last Updated**: 2021-04-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # redcat-example-app ## 定制代码使用 ```js // 表单/流程/报表支持使用 导出一个function 进行定制,也可以使用原有的导出 一个object对象 // sdk:sdk为内置参数 与 import sdk from 'redcatSdk' 一致 export default function(sdk) { return { 'form-id': () => {}, } } /** * 也支持直接返回一个object,返回object请自行导入sdk */ export default { 'form-id': () => {}, } ``` _注意导入文件只导入 form/report/process 下的一层,如果有子目录 js 文件需要导入的话,需要自行导入_ ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)