Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -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'
|
||||
},
|
||||
})
|
||||
});
|
||||
```
|
||||
|
||||
## 目录结构
|
||||
|
||||
Reference in New Issue
Block a user