{"id":19826480,"url":"https://github.com/chenycl/react-pro","last_synced_at":"2026-04-10T02:03:46.840Z","repository":{"id":42325463,"uuid":"205834806","full_name":"ChenYCL/react-pro","owner":"ChenYCL","description":"react16.9后台模版，基于create-react-app，路由表配置+权限，react hooks +redux语法，支持sass和hack css","archived":false,"fork":false,"pushed_at":"2023-01-04T08:44:43.000Z","size":3045,"stargazers_count":1,"open_issues_count":26,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T09:19:18.688Z","etag":null,"topics":["antd","classnames","hooks","mock","postcss","react","react-redux","react-router-dom","sass"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChenYCL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-02T10:41:59.000Z","updated_at":"2020-08-12T15:23:52.000Z","dependencies_parsed_at":"2023-02-02T05:46:09.554Z","dependency_job_id":null,"html_url":"https://github.com/ChenYCL/react-pro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChenYCL%2Freact-pro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChenYCL%2Freact-pro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChenYCL%2Freact-pro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChenYCL%2Freact-pro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChenYCL","download_url":"https://codeload.github.com/ChenYCL/react-pro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241181907,"owners_count":19923535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antd","classnames","hooks","mock","postcss","react","react-redux","react-router-dom","sass"],"created_at":"2024-11-12T11:10:34.290Z","updated_at":"2025-12-31T01:10:34.079Z","avatar_url":"https://github.com/ChenYCL.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 支持\n\n---\n\n- [x] sass 支持\n- [x] redux\n- [x] 登陆\n- [ ] 注册\n- [x] 路由表配置\n- [x] dllPlugin 拆分第三方\n- [x] compress 引入打包输出 gzip\n- [x] 依赖分析工具，可视化添加\n- [x] 打包进度添加\n\n## 依赖\n\n---\n\n- classnames\n- react-router-dom\n- hooks 相关 react-redux\n- redux-thunk thunk\n- axios\n- @tanem/react-nprogress\n\n### mock\n\n- mocker-api\n- express\n\n## UI\n\n---\n\n1.antd 引入并按需加载\n\n安装依赖 yarn add babel-plugin-import --save-dev， package.json\n\n    \"babel\": {\n    \"presets\": [\n    \"react-app\"\n    ],\n    \"plugins\": [\n    [\n    \"import\",\n    {\n    \"libraryName\": \"antd\",\n    \"style\": \"css\"\n    }\n    ]\n    ]\n    }\n\n2.布局添加\n\n3.postcss autoprefix 支持\n\n## mock\n\n---\n\n    yarn run mock\n\n## 指令\n\n    yarn dll 第三方依赖抽取\n    yarn prod:build 生产环境打包\n    yarn dev:build 开发环境打包\n    yarn start 开发环境模拟启动\n    yarn lint 检查代码错误\n    yarn fix 尝试修复\n    yarn prettier 自动格式化代码\n\n## 代码约束\n\n---\n\n- eslint+prettier\n- 增加 commit 提交前约束\n- 格式化\n\n## 文件结构\n\n---\n\nwaiting\n\n## 部署\n\n---\n\ndocker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenycl%2Freact-pro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenycl%2Freact-pro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenycl%2Freact-pro/lists"}