{"id":26387054,"url":"https://github.com/chenlong-io/react-cli","last_synced_at":"2026-02-14T05:09:40.006Z","repository":{"id":57173452,"uuid":"110330079","full_name":"chenlong-io/react-cli","owner":"chenlong-io","description":"一个拿来即用的react开发环境","archived":false,"fork":false,"pushed_at":"2018-08-15T03:13:33.000Z","size":539,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-27T19:53:38.480Z","etag":null,"topics":["antd","immutable","react-router-dom","react16","styled-components","typescript"],"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/chenlong-io.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":"2017-11-11T08:26:21.000Z","updated_at":"2021-04-25T14:17:39.000Z","dependencies_parsed_at":"2022-08-24T14:40:43.152Z","dependency_job_id":null,"html_url":"https://github.com/chenlong-io/react-cli","commit_stats":null,"previous_names":["chenlong-io/react-cli","vibing/react-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chenlong-io/react-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenlong-io%2Freact-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenlong-io%2Freact-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenlong-io%2Freact-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenlong-io%2Freact-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenlong-io","download_url":"https://codeload.github.com/chenlong-io/react-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenlong-io%2Freact-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29437371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T03:34:37.767Z","status":"ssl_error","status_checked_at":"2026-02-14T03:34:09.092Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","immutable","react-router-dom","react16","styled-components","typescript"],"created_at":"2025-03-17T08:29:08.530Z","updated_at":"2026-02-14T05:09:39.990Z","avatar_url":"https://github.com/chenlong-io.png","language":"JavaScript","readme":"### react-ve\n\n一个让你快速搭建`react`开发环境的脚手架\n\n### 优化项\n\n1.  代码丑化压缩\n2.  代码分割(code-splitting) 模板使用基于路由的动态导入\n3.  使用 DLL 将公用依赖库模块封装为一个独立文件\n\n#### 安装及使用\n\n1.  `npm install react-ve -g`\n2.  `react-ve init [projectName]`\n\n#### 启动项目\n\n1.  `cd [projectName]`\n2.  `yarn` 或 `npm install`\n3.  `npm run dll`\n4.  `npm start`\n\n在浏览器地址栏中输入：`localhost:3000`即可访问\n\n项目打包，运行`npm run build`即可，项目将打包至`dist`文件夹内\n\n##### 默认使用技术栈：\n\n1.  `react`\n2.  `typescript`\n3.  `antd`\n4.  `styled-components`\n5.  `react-router-dom`\n6.  `immutable`\n\n你可以根据喜好来`install`或`uninstall`它们。\n\n---\n\n##### 建议：\n\n项目公共样式（包括`antd`、框架、装饰页）使用`less`，页面级样式采\n用`styled-components`，以防止样式污染。\n\n---\n\n##### DLL ：\n\n在`webpack.dll.config.babel.js`中，默认打包的公共包包括：\n\n```\nentry: {\n    vendor: ['react', 'react-dom', 'antd', 'react-router-dom', 'immutable']\n  }\n```\n\n你可以根据自己的喜好做删减\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenlong-io%2Freact-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenlong-io%2Freact-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenlong-io%2Freact-cli/lists"}