Files

35 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Vibe Coding Compose Launcher
在 Android Studio 中打开 `android/` 即可导入 Launcher 工程。三端联调说明位于项目根目录。
| 路径 | 内容 |
| --- | --- |
| [android/](android/) | Android Compose Launcher |
| [frontend/](frontend/) | Vue 3 + TypeScript + Vite + Element Plus 管理后台和离线布局编辑器 |
| [backend/](backend/) | Spring Boot 后端、SQLite 布局发布和版本历史 |
| [docs/](docs/) | 布局协议、画布映射和历史设计文档 |
| [INTEGRATION.md](INTEGRATION.md) | 启动后台、构建 APK 和设备联调 |
## 前端开发
使用 Node.js 24 和 pnpm 10.34.5。在项目根目录执行以下命令:
```powershell
pnpm --dir frontend install --frozen-lockfile
pnpm --dir frontend dev
```
生产构建使用 `pnpm --dir frontend build`,产物输出到 `frontend/dist/`。
## Android 构建
Gradle Wrapper 使用 8.13,AGP 使用 8.13.2,Kotlin 和 Compose 编译器插件使用 2.4.21。使用 JDK 17 运行 Gradle,应用编译目标为 Java 8,编译和目标 SDK 为 37,最低支持 API 26。
在项目根目录执行:
```powershell
.\android\gradlew.bat -p .\android :app:assembleDebug :app:testDebugUnitTest
```
调试 APK 输出到 `android/app/build/outputs/apk/debug/app-debug.apk`。后台和后端的启动方式见 [INTEGRATION.md](INTEGRATION.md)。