{"id":21898297,"url":"https://github.com/AirPowerTeam/AirPowerUniappStarter","last_synced_at":"2025-07-21T13:31:31.356Z","repository":{"id":191088958,"uuid":"683901293","full_name":"HammCn/AirPowerUniappStarter","owner":"HammCn","description":"🔥🔥🔥AirPower的Uniapp开发宿主项目。","archived":false,"fork":false,"pushed_at":"2024-06-03T08:25:33.000Z","size":96,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-03T10:23:33.659Z","etag":null,"topics":["app","frontend","oop","typescript","uniapp"],"latest_commit_sha":null,"homepage":"https://service.hamm.cn","language":"TypeScript","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/HammCn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-28T02:54:16.000Z","updated_at":"2024-06-03T08:25:07.000Z","dependencies_parsed_at":"2024-06-03T10:15:37.039Z","dependency_job_id":"4091bef8-2307-4094-81b4-cff8bb31db56","html_url":"https://github.com/HammCn/AirPowerUniappStarter","commit_stats":null,"previous_names":["hammcn/airpoweruniappstarter"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HammCn%2FAirPowerUniappStarter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HammCn%2FAirPowerUniappStarter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HammCn%2FAirPowerUniappStarter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HammCn%2FAirPowerUniappStarter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HammCn","download_url":"https://codeload.github.com/HammCn/AirPowerUniappStarter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226930741,"owners_count":17704974,"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":["app","frontend","oop","typescript","uniapp"],"created_at":"2024-11-28T14:25:27.186Z","updated_at":"2025-07-21T13:31:30.991Z","avatar_url":"https://github.com/HammCn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AirPowerUniappStarter\n\n### 写在前面\n\n你当前正在查看基于 ```AirPower``` 基础库的 宿主项目的代码, 我们使用的是 ```Vite``` 构建, 包管理使用的是 ```yarn```, 请先安装前叙的相关工具后继续接下来的操作 ：）\n\n### 一、初始化仓库\n\n\u003e 建议windows开发者使用 ```git bash``` 不要使用windows自带的拉垮的 ```cmd``` ```powershell``` 等。否则接下来的脚本可能出现问题，你只能通过自己手动去操作。\n\n```shell\ngit clone https://github.com/HammCn/AirPowerUniappStarter.git \u0026\u0026\ncd AirPowerUniappStarter/src \u0026\u0026 \ngit clone -b uniapp https://github.com/HammCn/AirPower4T.git airpower \u0026\u0026 cd ../ \u0026\u0026\nyarn\n```\n\n### 二、修改环境变量\n\n在 ```main.ts``` 中按需修改配置\n\n```typescript\nconst rootUrl = 'https://service.hamm.cn/'\n\nAirConfig.apiUrl = `${rootUrl}api/`\nAirConfig.staticUrl = `${rootUrl}upload/`\n```\n\n### 三、启动和打包\n\n\n使用 HBuilder 开发者工具导入这个项目，然后编译运行即可。\n\n\n### 四、其他命令\n\n```shell\n#使用标准commit模板\nyarn c   \n\n#更新项目和AirPower\nyarn u   \n\n#查看Git格式化日志\nyarn l           \n```\n\n### And now, enjoy your coding!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAirPowerTeam%2FAirPowerUniappStarter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAirPowerTeam%2FAirPowerUniappStarter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAirPowerTeam%2FAirPowerUniappStarter/lists"}