- 重命名项目为 Digital Pilates - 更新 bundleIdentifier 为 digital-pilates - 重新设计底部导航栏,增加选中状态和标签 - 添加 CLAUDE.md 文件,提供代码助手指导 - 删除 README.md 文件中的冗余信息
19 lines
933 B
Markdown
19 lines
933 B
Markdown
# CLAUDE.md
|
|
|
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
|
|
## Commands
|
|
- **Start development server**: `npm start`
|
|
- **Run on Android**: `npm run android`
|
|
- **Run on iOS**: `npm run ios`
|
|
- **Run on Web**: `npm run web`
|
|
- **Lint**: `npm run lint`
|
|
- **Reset project**: `npm run reset-project`
|
|
|
|
## Architecture
|
|
- **Framework**: React Native (Expo) with TypeScript.
|
|
- **Navigation**: Expo Router for file-based routing (`app/` directory).
|
|
- **UI**: Themed components (`ThemedText`, `ThemedView`) and reusable UI elements (`Collapsible`, `ParallaxScrollView`).
|
|
- **Platform-Specific**: Android (`android/`) and iOS (`ios/`) configurations with native modules.
|
|
- **Hooks**: Custom hooks for color scheme (`useColorScheme`) and theme management (`useThemeColor`).
|
|
- **Dependencies**: React Navigation for tab-based navigation, Expo modules for native features (haptics, blur, etc.). |