From f49b3ebebb18375f8ba94200ccc026100886e4c5 Mon Sep 17 00:00:00 2001 From: hanyixuanten Date: Wed, 1 Jul 2026 15:22:29 +0800 Subject: [PATCH] fix --- .github/copilot-instructions.md | 45 ---- .github/instructions/ux-files.instructions.md | 92 ------- .github/skills/vela-quickapp/SKILL.md | 226 ------------------ README.md | 7 +- src/manifest.json | 4 +- src/pages/index/index.ux | 28 +-- 6 files changed, 22 insertions(+), 380 deletions(-) delete mode 100644 .github/copilot-instructions.md delete mode 100644 .github/instructions/ux-files.instructions.md delete mode 100644 .github/skills/vela-quickapp/SKILL.md diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md deleted file mode 100644 index 694ece7..0000000 --- a/.github/copilot-instructions.md +++ /dev/null @@ -1,45 +0,0 @@ -# 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 `