{"id":16439614,"url":"https://github.com/sevenoutman/create-rsuite-app","last_synced_at":"2026-06-11T18:31:24.892Z","repository":{"id":77177389,"uuid":"123217439","full_name":"SevenOutman/create-rsuite-app","owner":"SevenOutman","description":"快速创建由 rsuite-framework 驱动的 RSUITE 项目","archived":false,"fork":false,"pushed_at":"2018-02-24T03:06:56.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-18T18:06:31.041Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/SevenOutman.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-02-28T02:29:44.000Z","updated_at":"2020-09-08T12:34:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"d3e37396-587f-4de9-a34e-b79dc0a7244a","html_url":"https://github.com/SevenOutman/create-rsuite-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SevenOutman/create-rsuite-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SevenOutman%2Fcreate-rsuite-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SevenOutman%2Fcreate-rsuite-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SevenOutman%2Fcreate-rsuite-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SevenOutman%2Fcreate-rsuite-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SevenOutman","download_url":"https://codeload.github.com/SevenOutman/create-rsuite-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SevenOutman%2Fcreate-rsuite-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34213180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-11T09:09:55.256Z","updated_at":"2026-06-11T18:31:24.873Z","avatar_url":"https://github.com/SevenOutman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/generator-create-rsuite-app.svg)](https://www.npmjs.com/package/generator-create-rsuite-app)\n# create-rsuite-app\n`create-rsuite-app` 是用于快速创建基于 [Rsuite](https://rsuitejs.com) + React + Redux + React-Router 为模板的脚手架，能让你快速搭建功能完善的后台框架。\n\n[在线 DEMO](https://rsuitejs.com/rsuite-example-admin/#/events?_k=kew5mz)\n## 用法\n#### 安装\n\n```bash\n# 确保全局安装\nnpm install -g yo\nnpm install -g generator-create-rsuite-app\n```\n\n#### 创建项目\n```bash\n# 创建并进入项目文件夹\nmkdir your-project \u0026\u0026 cd your-project\n\n// 使用脚手架安装项目\nyo create-rsuite-app\n```\n\n#### 运行项目\n等待 npm install 安装完成后，执行下面命令，打开 `localhost:3002` 即可运行项目。\n```bash\nnpm run dev\n```\n#### 构建项目\n```bash\nnpm run build\n```\n\n## 脚手架介绍\n\u003e由于当前 Rsuite 的 React 版本还未更新到 15以后，为了兼容性考虑，脚手架的 React 版本采用了 react@0.14.9。即保留了 react@15以后的 class 语法，又兼容了 低版本的 Rsuite 框架。\n脚手架启用了 `eslint`、`less`、`redux`、`react-router`、`react-router-redux`、`react-intl`、`react-redux` 等依赖和配置。在使用该脚手架时，要确保对前面提到的知识有所了解。\n\n\n### 项目结构介绍\n脚手架的项目结构位于 `generators/app/temlates` 文件夹下，项目结构如下：\n```\n.\n├── README.md\n├── data                // 存放本地 mock json 数据\n│   ├── captcha.jpg\n│   └── users.json\n├── package.json\n├── src \n│   ├── actions         // redux action \n│   ├── components      // react component\n│   ├── constants       // 常量定义\n│   ├── containers      // redux containers \n│   ├── hoc             // 高阶函数\n│   ├── index.html      // 首页\n│   ├── index.js        // 入口文件\n│   ├── less            // less 样式\n│   ├── locales         // 国际化 文件夹\n│   ├── reducers        // redux reducer\n│   ├── routes          // react-router 定义\n│   └── utils\n├── webpack             // webpack 配置文件\n│   ├── extractLess.js\n│   ├── plugins.js\n│   └── rules.js\n├── webpack.config.js\n└── webpack.dev.config.js\n```\n### Table 数据列表组件\n脚手架封装了 `TableView` 组件，方便使用 Table 数据列表。具体参照 `src/components/Users` 模块下的用法。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsevenoutman%2Fcreate-rsuite-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsevenoutman%2Fcreate-rsuite-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsevenoutman%2Fcreate-rsuite-app/lists"}