CLAUDE.md@by-framework/vue-nuxt claudeB
CLAUDE.md@by-framework/vue-nuxt is agent-read markdown (claude) from overseastelegramaliterateperson865/awesome-claude-md.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# CLAUDE.md - Vue 3 + Nuxt 3 项目规范
## 项目概述
- 基于 Nuxt 3 + Vue 3,适配国内项目需求(中文 UI、国内 CDN、可能需要兼容微信生态)
- 包管理器使用 pnpm,Node.js >= 18
## 项目结构
- `pages/` - 文件系统路由 | `components/` - 自动导入组件 | `composables/` - 组合式函数(`use*.ts`)
- `stores/` - Pinia 状态管理 | `server/api/` - 服务端接口 | `utils/` - 工具函数
- `plugins/` - Nuxt 插件 | `middleware/` - 路由中间件 | `types/api/` - API 响应类型
## Composition API
- 只使用 `<script setup lang="ts">`,禁止 Options API
- 组件内代码顺序:props/emits > 响应式状态 > computed > watch > 方法 > 生命周期钩子
- 优先用 `ref` 保持一致性,props 用 `defineProps<{ title: string }>()` 配合 `withDefaults`
## 自动导入
- Nuxt 3 自动导入 Vue API(`ref`、`computed`、`watch`)及 `composables/`、`utils/` 的导出,无需手动 import
- 第三方库仍需手动 `import`;自动导入类型在 `.nuxt/imports.d.ts` 中生成
## Pinia 状态管理
- Store 放在 `stores/` 目录,命名 `use*Store.ts`,使用 Setup Store 语法(函数式 `defineStore`)
- 持久化使用 `pinia-plugin-persistedstate`,配置在 `nuxt.config.ts` 中
## UI 组件库
- 使用 Element Plus 或 Ant Design Vue,通过 Nuxt 模块按需导入,禁止全量引入 CSS
- 主题定制通过 CSS 变量覆盖,写在 `assets/styles/variables.scss`
- 表单校验统一使用组件库内置规则
## 数据请求
- 使用 `useFetch` / `useAsyncData` 获取数据,不要裸用 `axios` 或 `fetch`
- 封装统一请求拦截器在 `composables/useRequest.ts`,处理 token 注入、错误提示
…Read the whole file at its exact version.
How to install
mdr add overseastelegramaliterateperson865/awesome-claude-md/by-framework/vue-nuxt/CLAUDE.md@git:20260320.fcf2609mdr add overseastelegramaliterateperson865/awesome-claude-md/by-framework/vue-nuxt/CLAUDE.md@sha256:43d380b5aa078869Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_tvppe6c33zcoersh)
1 badge views in 30 days
Versions
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Size between 200 bytes and 200 KB (2438 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
Source
overseastelegramaliterateperson865/awesome-claude-md · 3 stars · license MIT · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tvppe6c33zcoersh GET https://markdownregistry.com/api/v1/resolve?ref=overseastelegramaliterateperson865/awesome-claude-md/by-framework/vue-nuxt/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/43d380b5aa078869cebc2ad5bd276043cce16fe3e66d1f59c9da6ed1c2c0011c
Your agent 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.
More from overseastelegramaliterateperson865/awesome-claude-md
Every file in overseastelegramaliterateperson865/awesome-claude-md