{"id":14984147,"url":"https://github.com/javaluo/react-luo","last_synced_at":"2025-10-03T20:48:44.643Z","repository":{"id":43650473,"uuid":"92714112","full_name":"javaLuo/react-luo","owner":"javaLuo","description":"React Automatically - 保持最新技术 react18 hooks router6 webpack5 babel7 antd4","archived":false,"fork":false,"pushed_at":"2022-11-14T05:20:17.000Z","size":6746,"stargazers_count":312,"open_issues_count":8,"forks_count":72,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-05T21:05:17.799Z","etag":null,"topics":["antdesign","babel7","es10","prettier","react-router-v5","reactjs","redux","webpack5"],"latest_commit_sha":null,"homepage":"https://isluo.com/work/pwa/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/javaLuo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-29T06:51:06.000Z","updated_at":"2024-09-03T09:11:40.000Z","dependencies_parsed_at":"2023-01-23T01:46:05.549Z","dependency_job_id":null,"html_url":"https://github.com/javaLuo/react-luo","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/javaLuo%2Freact-luo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaLuo%2Freact-luo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaLuo%2Freact-luo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaLuo%2Freact-luo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javaLuo","download_url":"https://codeload.github.com/javaLuo/react-luo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399871,"owners_count":20932876,"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":["antdesign","babel7","es10","prettier","react-router-v5","reactjs","redux","webpack5"],"created_at":"2024-09-24T14:08:32.882Z","updated_at":"2025-10-03T20:48:39.600Z","avatar_url":"https://github.com/javaLuo.png","language":"JavaScript","readme":"# React-Luo\n\n[![Build Status](https://travis-ci.org/javaLuo/react-luo.svg?branch=master)](https://travis-ci.org/javaLuo/react-luo)\n[![codebeat badge](https://codebeat.co/badges/eb91ca34-7c1b-424f-be1c-a5d79fd3d269)](https://codebeat.co/projects/github-com-javaluo-react-luo-master)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) ![GitHub last commit](https://img.shields.io/github/last-commit/javaLuo/react-luo.svg?style=popout)\n\n## what is this?\n\nreact automatically\u003cbr/\u003e\n这是一个 React 脚手架，没有使用 create-react-app\u003cbr/\u003e\n标准的 React+Redux 分层结构\u003cbr/\u003e\n经过了多个项目的实践，不停的更新和优化出来的。目前自己做项目也在用。\n\n- PWA、Hooks、代码分割、热替换、HappyPack 多线程构建、ES6+语法\n\n## 构建 Start\n\n```\nyarn install\t\t# 安装依赖模块\n\nyarn start\t\t# 运行开发环境: http://localhost:8888\nyarn build\t\t# 正式打包，用于生产环境\n\nyarn dist\t\t# 运行正式打包后的最终文件（build目录下的文件）: http://localhost:8889\nyarn distmac\t        # MAC下运行最终文件：http://localhost:8889\n\nyarn prettier\t\t# 自动格式化src、mock目录下的所有.js/.css/.scss/.less文件\n```\n\n## 更新日志 Update log\n\n见\u003ca href=\"https://github.com/javaLuo/react-luo/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97\" target=\"_blank\"\u003eWiki\u003c/a\u003e\n\n## 目录结构 Structure\n\n```\n.\n├── build\t\t\t\t# 正式打包后，会自动生成该文件夹，其中会包含最终用于生产环境的文件\n│   ├── dist\t\t\t\t# 编译后的资源文件\n│   ├── icons\t\t\t\t# 编译后自动生成的各尺寸favicon图标，有的会用于PWA配置\n│   ├── asset-manifets.json\t\t# 记录了将会被缓存的资源\n│   ├── index.html\t\t\t# 编译后的主页html\n│   ├── manifest.json\t\t\t# PWA配置文件，配置了桌面图标，以APP方式启动时的启动页面相关参数\n│   └── service-worker.js\t\t# PWA核心worker, 用于离线访问，缓存不变的资源文件\n├── mock\t\t\t\t# mock测试数据\n├── public\t\t\t\t# 静态文件，index.html等\n├── src                                 # 项目代码目录\n│   ├── component                     # 所有的公共类UI组件\n│   ├── container                     # 所有的页面级容器组件\n|\t├── ...\n|   \t└── router\t\t\t# 根组件，里面配置了顶级的路由\n|   ├── models\t\t\t\t# 模块（包含store数据/reducers/actions）\n│   ├── assets                          # 所有的图片、文件等静态资源\n│   ├── styles                          # 所有的样式文件\n│   ├── store                           # store数据中心\n│   ├── root                            # 根页\n│   ├── store                           # store数据中心\n│   ├── util                            # 自定义工具\n│   ├── index.js                        # 项目入口JS\n│   └── index.html                      # 主页html文件,开发环境和生产打包共用\n├── server.js\t\t\t\t# 用于开发环境的服务部署\n├── webpack.dev.config.js\t\t# 用于开发环境的webpack配置\n└── webpack.production.config.js\t# 用于生产环境正式打包的webpack配置\n```\n\n## 预览地址 Demo\n\nhttps://isluo.com/work/pwa/\n\n## 参阅资料\n\nReact 英文官网：https://reactjs.org \u003cbr/\u003e\nReact 中文文档：https://doc.react-china.org \u003cbr/\u003e\nReact GitHub 地址：https://github.com/facebook/react \u003cbr/\u003e\nReact 官方更新日志：https://github.com/facebook/react/releases \u003cbr/\u003e\nReact 生命周期：https://reactjs.org/docs/react-component.html \u003cbr/\u003e\nmockjs 官网：http://mockjs.com/ \u003cbr/\u003e\nEslint 中文站：http://eslint.cn/ \u003cbr/\u003e\nBabel GitHub 地址：https://github.com/babel/babel \u003cbr/\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavaluo%2Freact-luo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavaluo%2Freact-luo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavaluo%2Freact-luo/lists"}