# Repository Guidelines ## Project Structure & Module Organization - Source: `src/` (entry `src/main.js`, app shell `src/App.vue`). - Pages: `src/pages/**` with Uni-App routing in `src/pages.json` (e.g., `pages/index/index.vue`). - UI Components: `src/components/` (reusable, app-agnostic). - State: `src/stores/` (Pinia stores). - Utilities: `src/utils/`; Styles: `src/styles/`, global `src/uni.scss`. - Assets: `src/static/`. - Build output: `dist/`; temp and logs: `temp/`, `logs/`. - Tooling: `vite.config.js`, `manifest.json`, `index.html`. ## Build, Test, and Development Commands - Install: `npm install` - Dev (H5): `npm run dev:h5` — start Vite + Uni dev server. - Dev (Weixin Mini Program): `npm run dev:mp-weixin` - Build (H5): `npm run build:h5` - Build (Weixin Mini Program): `npm run build:mp-weixin` - Custom target: `npm run dev:custom -- -p ` (e.g., `mp-alipay`). - Output is written to `dist/`. ## Coding Style & Naming Conventions - Indentation: 2 spaces; trailing spaces trimmed. - Vue 3 SFCs: prefer `