Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hammcn/airpowerwechatstarter
🔥🔥🔥🔥🔥🔥[开箱即用] AirPower的微信小程序开发宿主项目。AirPower4T 是一个基于 Vue3 TypeScript Element Plus Vite 的开发基础库,使用面向对象、装饰器、Hooks等开发模式,内置了数据模型转换、表格表单装饰器配置、加解密和编码解码、网络请求、权限管理等常见后台功能以及页面组件,助力后台类系统的前端开发效率,同时保障了优雅的代码质量。
https://github.com/hammcn/airpowerwechatstarter
frontend oop typescript wechat-mini-program weui-wxss
Last synced: 7 days ago
JSON representation
🔥🔥🔥🔥🔥🔥[开箱即用] AirPower的微信小程序开发宿主项目。AirPower4T 是一个基于 Vue3 TypeScript Element Plus Vite 的开发基础库,使用面向对象、装饰器、Hooks等开发模式,内置了数据模型转换、表格表单装饰器配置、加解密和编码解码、网络请求、权限管理等常见后台功能以及页面组件,助力后台类系统的前端开发效率,同时保障了优雅的代码质量。
- Host: GitHub
- URL: https://github.com/hammcn/airpowerwechatstarter
- Owner: HammCn
- License: mit
- Created: 2023-07-27T01:36:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-31T04:35:17.000Z (about 1 month ago)
- Last Synced: 2024-12-31T05:26:36.712Z (about 1 month ago)
- Topics: frontend, oop, typescript, wechat-mini-program, weui-wxss
- Language: TypeScript
- Homepage: https://hamm.cn
- Size: 354 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AirPowerWechatStarter
### 写在前面
你当前正在查看基于 ```AirPower``` 基础库的 宿主项目的代码, 我们使用的是 ```Vite``` 构建, 包管理使用的是 ```yarn```, 请先安装前叙的相关工具后继续接下来的操作 :)
### 一、初始化仓库
> 建议windows开发者使用 ```git bash``` 不要使用windows自带的拉垮的 ```cmd``` ```powershell``` 等。否则接下来的脚本可能出现问题,你只能通过自己手动去操作。
```shell
git clone https://github.com/HammCn/AirPowerWechatStarter.git &&
cd AirPowerWechatStarter/src &&
git clone -b wechat https://github.com/HammCn/AirPower4T.git airpower && cd ../
```### 二、修改基础配置
按需修改配置
```conf
App({
async onLaunch() {
AirConfig.apiUrl = "" // api地址
AirConfig.staticUrl = "" // 静态资源地址
},
})
```### 三、启动和打包
使用微信小程序开发者工具导入这个项目,然后编译运行即可。
### 四、其他命令
```shell
#使用标准commit模板
yarn c#更新项目和AirPower
yarn u#查看Git格式化日志
yarn l
```### And now, enjoy your coding!