Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-01-11 15:51:22 +07:00
parent 6f8a8de9be
commit 309606565b
46 changed files with 28649 additions and 28522 deletions

View File

@@ -50,19 +50,19 @@ pnpm generate
```typescript
export const currentVersion: AppVersion = {
version: '1.0.0',
buildNumber: '100',
releaseDate: '2025-12-30',
version: "1.0.0",
buildNumber: "100",
releaseDate: "2025-12-30",
releaseNotes: {
'zh-CN': ['更新内容...'],
'en-US': ['What\'s new...'],
"zh-CN": ["更新内容..."],
"en-US": ["What's new..."],
},
downloads: {
ios: 'https://example.com/app.ipa',
android: 'https://example.com/app.apk',
h5: 'https://app.example.com',
ios: "https://example.com/app.ipa",
android: "https://example.com/app.apk",
h5: "https://app.example.com",
},
}
};
```
### 接入真实 API
@@ -81,9 +81,9 @@ Nuxt UI 使用 TailwindCSS 4可在 `nuxt.config.ts` 中配置:
```typescript
export default defineNuxtConfig({
colorMode: {
preference: 'system', // 'light' | 'dark' | 'system'
preference: "system", // 'light' | 'dark' | 'system'
},
})
});
```
## 目录结构