CLAUDE.md@by-framework/uni-appB
CLAUDE.md@by-framework/uni-app from overseastelegramaliterateperson865/awesome-claude-md is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.
mdr add overseastelegramaliterateperson865/awesome-claude-md/by-framework/uni-app/CLAUDE.md@git:20260320.fcf2609Pins git:20260320.fcf2609 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 13 of 14 checks passed
- Kind
- CLAUDE.md file
- Repository
- overseastelegramaliterateperson865/awesome-claude-md
- Path
by-framework/uni-app/CLAUDE.md- Versions recorded
- 1
- Latest version
- git:20260320.fcf2609, committed Mar 20, 2026
- Size
- 2,529 bytes
- Repository stars
- 3
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# uni-app 跨端项目 ## 技术栈 - uni-app + Vue 3 Composition API + TypeScript - 目标平台:微信小程序、H5、App(Android/iOS) - 状态管理:Pinia - UI 框架:uni-ui 或 uView Plus ## 项目结构 ``` src/ pages/ # 页面,须在 pages.json 中注册 components/ # 可复用组件(easycom 自动导入) composables/ # 组合式函数 stores/ # Pinia store static/ # 静态资源(会被打包进产物) uni_modules/ # uni-app 插件模块 pages.json # 路由和页面配置(核心配置文件) manifest.json # 应用配置(appid、权限、SDK 配置等) ``` ## 条件编译 - 使用 `#ifdef` / `#ifndef` / `#endif` 实现平台差异化代码 - JS 中:`// #ifdef MP-WEIXIN` ... `// #endif` - 模板中:`<!-- #ifdef H5 -->` ... `<!-- #endif -->` - CSS 中:`/* #ifdef APP-PLUS */` ... `/* #endif */` - 常用平台标识:`MP-WEIXIN`(微信小程序)、`H5`、`APP-PLUS`(App) ## 开发规范 - 使用 Vue 3 `<script setup lang="ts">` 语法 - 页面生命周期用 uni-app 专用钩子:`onLoad`、`onShow`、`onReady`、`onHide` - 组件生命周期正常使用 Vue 的 `onMounted`、`onUnmounted` 等 - 路由跳转用 `uni.navigateTo`、`uni.redirectTo`、`uni.switchTab` - 网络请求用 `uni.request`,或封装统一的请求工具函数 - 存储使用 `uni.setStorageSync` / `uni.getStorageSync` ## 多端兼容注意事项 - 小程序不支持 DOM 操作,禁止使用 `document`、`window` 等浏览器 API - 小程序包大小限制 2MB(主包),超出需配置分包 `subPackages` - CSS 用 `rpx` 单位(750rpx = 屏幕宽度),组件名避免与原生组件同名 ## HBuilderX vs CLI 开发 …
Read the whole file at its exact version.
How to install
mdr add overseastelegramaliterateperson865/awesome-claude-md/by-framework/uni-app/CLAUDE.md@sha256:73e4fd2515dbd685The line at the top of this page pins the label git:20260320.fcf2609, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_tias66ipyrziuwma)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Mar 20, 2026.
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Size between 200 bytes and 200 KB (2529 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
Starting a new one? Use a template for CLAUDE.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
overseastelegramaliterateperson865/awesome-claude-md · 3 stars · license MIT · pushed 2026-10-14 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tias66ipyrziuwma GET https://markdownregistry.com/api/v1/resolve?ref=overseastelegramaliterateperson865/awesome-claude-md/by-framework/uni-app/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/73e4fd2515dbd685bb9a65d59645c63052d3adb4fa74dedcea21762819220da5
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.
More from overseastelegramaliterateperson865/awesome-claude-md
Every file in overseastelegramaliterateperson865/awesome-claude-md