{"id":17034020,"url":"https://github.com/dreambo8563/ts_react_mobx","last_synced_at":"2026-04-09T02:32:00.659Z","repository":{"id":97401769,"uuid":"118345296","full_name":"dreambo8563/ts_react_mobx","owner":"dreambo8563","description":"ts+react +mobx boilerplate","archived":false,"fork":false,"pushed_at":"2019-01-23T01:49:56.000Z","size":1431,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T21:42:28.829Z","etag":null,"topics":["mobx3","react-router-v4","react16","typescript","webpack3"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/dreambo8563.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-01-21T15:07:56.000Z","updated_at":"2020-07-04T15:03:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"953fcb9e-a7d8-4489-bc0f-c987bad6dafd","html_url":"https://github.com/dreambo8563/ts_react_mobx","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/dreambo8563/ts_react_mobx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreambo8563%2Fts_react_mobx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreambo8563%2Fts_react_mobx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreambo8563%2Fts_react_mobx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreambo8563%2Fts_react_mobx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreambo8563","download_url":"https://codeload.github.com/dreambo8563/ts_react_mobx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreambo8563%2Fts_react_mobx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31582635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["mobx3","react-router-v4","react16","typescript","webpack3"],"created_at":"2024-10-14T08:37:12.650Z","updated_at":"2026-04-09T02:32:00.642Z","avatar_url":"https://github.com/dreambo8563.png","language":"TypeScript","readme":"## Setup\n\n```\n$ npm install\n```\n\n## Running\n\n```\n$ npm start\n```\n\n## Build\n\n```\n$ npm run build\n```\n\n## Rules:\n\n全局 css /src/assets/main.css\n\n## Router 命名规则\n\n/系统/模块/页面../:id 等前面 3 层要确定,为了左侧导航能够相应变化\n\n## 路由定义在\n\n/src/app/routers\n\n## store 定义\n\n/src/app/stores\n\n* AppStore 存储应用级别的数据 如 loading\n* RouterStore 针对组件中需要应用路由是注入\n\n- 其他: 为需要进行组件通信时的页面级别数据\n\n## 容器类组件\n\n/src/app/containers\n\n* 不同页面的最外层组件结构 同 系统 -\u003e 模块 -\u003e 页面如 sales -\u003e orders -\u003e List 页面\n\n#layouts\n存放大型布局的容器组件\n\n* SidebarLayout 所有系统内部要展示左侧导航的布局\n\n## 组件库\n\n/src/app/components\n\n不同模块组件需建立自己的目录 如 Module1 下的 component1 建立 index.tsx 和 style.css\n\n不同模块间通用组件直接放在 Common 目录下\n\n## constants\n\n* stores - store 名字\n* text 所有文字 -便于以后国际化,统一处理\n* api - 所有 api\n* url - 路由地址相关\n\n## utils 帮助函数\n\n* 请求相关\n* loadComponentXXX 异步加载组件\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreambo8563%2Fts_react_mobx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreambo8563%2Fts_react_mobx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreambo8563%2Fts_react_mobx/lists"}