{"id":18249641,"url":"https://github.com/chandq/react-project-demo","last_synced_at":"2026-04-02T18:53:44.408Z","repository":{"id":130689836,"uuid":"154018024","full_name":"chandq/react-project-demo","owner":"chandq","description":"基于Webpack + React + Redux + React Router + Antd + Eslint实现的PC端脚手架","archived":false,"fork":false,"pushed_at":"2019-05-11T07:19:58.000Z","size":915,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-14T15:53:29.102Z","etag":null,"topics":["antd","react","react-router","redux","webpack"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/chandq.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-21T14:36:28.000Z","updated_at":"2022-01-11T06:14:42.000Z","dependencies_parsed_at":"2023-03-18T04:31:09.812Z","dependency_job_id":null,"html_url":"https://github.com/chandq/react-project-demo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandq%2Freact-project-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandq%2Freact-project-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandq%2Freact-project-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandq%2Freact-project-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chandq","download_url":"https://codeload.github.com/chandq/react-project-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247919689,"owners_count":21018164,"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","react","react-router","redux","webpack"],"created_at":"2024-11-05T09:40:46.997Z","updated_at":"2025-12-30T23:05:41.981Z","avatar_url":"https://github.com/chandq.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-project-demo\n\n## 简述\n    基于react v16搭建的项目框架，通过脚手架create-react-app v1.5创建出的基础框架，然后\n    再手动加入路由、redux、国际化等扩展功能，组件库使用antd v3.10，使用fetch API和后台交互，\n    编写样式可以使用scss和less方式书写，项目中默认启用eslint对基础语法进行检查，使用webpack\n\t构建项目。\n    核心依赖插件的版本如下：\n    react: 16.3.2\n    react-router: 3.2.0\n    redux: 4.0.0\n    webpack: 3.8.1\n    antd: 3.10.1\n    PS: 开发环境建议使用node v6.11.0, npm v6.0.1的环境，node版本较高可能导致安装node-sass失败\n## 目录组织结构\n\tconfig\t项目配置文件的所在目录\n\tlocales\t国际化文件的目录\n\tcomponents\t公共组件目录\n\tpages\t页面文件目录\n\tstyle\t样式、图片、字体等资源文件的目录\n\tutils\t工具类目录\n## 运行\n\t1. 将项目代码clone下来，可通过前端开发工具（webstorm、vscode或notepad++等）打开编辑\n\t2. npm install\t根据package.json配置文件安装项目需要的所有依赖\n\t3. npm start\t启动项目（默认3000端口号）\n\t4. npm run build\t构建项目（构建完成后会生成一个build目录）\t\n\tPS：npm install默认是从国外镜像地址安装依赖，比较慢，可设置cnpm从国内淘宝镜像地址中下载。\n\t设置方法\tnpm install cnpm -g --registry=https://registry.npm.taobao.org\n\t使用方式\tcnpm install\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandq%2Freact-project-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchandq%2Freact-project-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandq%2Freact-project-demo/lists"}