{"id":20126657,"url":"https://github.com/webkixi/aotoo-hub","last_synced_at":"2025-05-06T17:35:33.766Z","repository":{"id":33835712,"uuid":"146426157","full_name":"webkixi/aotoo-hub","owner":"webkixi","description":"aotoo-hub是一套通用型前端脚手架，无技术栈依赖，聚焦于多人协作及工程化。帮助开发者快速产出项目。支持react/vue/小程序/node","archived":false,"fork":false,"pushed_at":"2023-01-27T04:50:47.000Z","size":5888,"stargazers_count":74,"open_issues_count":15,"forks_count":19,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-03-03T15:09:02.650Z","etag":null,"topics":["koa","nodejs","react","vue","webpack"],"latest_commit_sha":null,"homepage":"http://www.agzgz.com","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/webkixi.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":"2018-08-28T09:47:49.000Z","updated_at":"2022-10-16T13:06:09.000Z","dependencies_parsed_at":"2023-02-15T05:46:40.329Z","dependency_job_id":null,"html_url":"https://github.com/webkixi/aotoo-hub","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkixi%2Faotoo-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkixi%2Faotoo-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkixi%2Faotoo-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkixi%2Faotoo-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webkixi","download_url":"https://codeload.github.com/webkixi/aotoo-hub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224517278,"owners_count":17324409,"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":["koa","nodejs","react","vue","webpack"],"created_at":"2024-11-13T20:17:10.001Z","updated_at":"2024-11-13T20:17:10.516Z","avatar_url":"https://github.com/webkixi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 介绍  \n\nAOTOO-HUB 是一套前端全栈型脚手架\n\n* 支持 REACT/VUE/小程序/RN  \n* 支持多项目开发，所有项目放置于开发空间中，可独立编译，运行\n* 简单、高效的命令行操作\n* 支持各种动态样式  \n* 支持远程项目，可以安装gitee/github的项目到本地\n* 配置server为true，支持node支撑的后端服务，也可作为项目中间层\n\n**[GITHUB](https://www.github.com/webkixi/aotoo-hub)**  \n**[更多说明](https://www.agzgz.com)**  \n\n## 多项目开发  \n\naotoo-hub建立了一个统一的开发环境(基于webpack4)，所有项目可以共享开发环境中的编译资源，如babel, sass等。按照简单的目录规则，可以快速开始项目，无需关注编译环境\n\n```bash\nworkspack\n  └── src \n      │── hub-react\n      │── hub-vue\n      └── hub-xcx  # 小程序项目\n```\n\n启动项目也非常简单  \n\n```bash\naotoo dev hub-react  # 启动hub-react项目，启动开发模式\naotoo build hub-react  # 按生产模式编译hub-react项目\n```\n\n## 命令行  \n\n通过专属命令`aotoo`启动项目并附带运行状态，有3中基础命令及由基础命令衍生的状态命令，这个我们会在后面详细说明\n\n```bash\naotoo dev  # 开发模式\naotoo build # 生产编译模式\naotoo install # 安装远程项目  \n```\n\n## 多环境支持  \n\n通过命令行可以快速切换不同的开发环境(需先创建配置文件)，如测试，预发布，生产等等  \n\n```bash\naotoo dev project --config test  # 启动测试环境\naotoo dev project --config pre   # 启动预发布环境\n```\n\n**产出目录**  \n\n```bash\n├─ dist          # 输出目录(前端)\n    │─ 1.0.1     # 版本目录，依据配置中的version字段\n    └─ 1.0.8\n        └─ dev # 开发目录\n            │── js/index.js\n            │── html/index.html\n             ...\n```\n\n## 全栈模式  \n\n在`aotoo-hub`配置文件`aotoo.config.js`中配置相关项目的server属性为true，即可以将该项目由纯前端项目转变为大前端项目，由node提供server服务\n\n## 远程模板\n\n把本地项目(基于规则目录)发布到gitee/github后该项目可作为远程模板被其他开发人员安装到本地。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebkixi%2Faotoo-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebkixi%2Faotoo-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebkixi%2Faotoo-hub/lists"}