# Xiaomi Vela JS Application Guidelines ## Project Overview This is a Xiaomi Vela JS quickapp (快应用) targeting smartwatch/wearable devices. Use the `vela-quickapp` skill for Vela-specific tasks. ## Code Style - All directory names use **lowercase** (`common/`, not `Common/`) - Resource paths in manifest.json and CSS use absolute paths (`/common/icon.png`) - Code imports use relative paths (`../common/utils`) - Style units are `px` (logical pixels, auto-scaled by framework) - Use Flexbox layout exclusively (`flex-direction`, `justify-content`, `align-items`) ## Architecture ``` src/ ├── manifest.json # App config (package, router, config fields are REQUIRED) ├── app.ux # App entry point, import shared utilities here ├── pages/ # Each page = one directory with one .ux file └── common/ # Shared resources: styles, utils, images ``` - Each page is a single `.ux` file with `