[{"data":1,"prerenderedAt":1100,"buildId":1101},["ShallowReactive",2],{"-docs-guide-troubleshooting-description":3,"docs--docs-guide-troubleshooting":16,"docs-navigation-zh-CN":776,"mdc--tctnej-key":1088,"surround--docs-guide-troubleshooting":1097},{"data":4,"body":5},{},{"type":6,"children":7},"root",[8],{"type":9,"tag":10,"props":11,"children":12},"element","p",{},[13],{"type":14,"value":15},"text","排查依赖缺失、文档 404、多语言和 AI Chat 等常见故障。",{"id":17,"title":18,"body":19,"category":764,"description":15,"difficulty":765,"extension":766,"index":767,"keywords":765,"links":765,"meta":768,"navigation":769,"path":771,"requires":765,"seo":772,"sitemap":773,"stem":774,"__hash__":775},"docs\u002Fdocs\u002F2.guide\u002F10.troubleshooting.md","故障排查",{"type":20,"value":21,"toc":752},"minimark",[22,27,42,51,139,150,154,162,165,241,245,248,254,273,276,303,385,388,391,397,415,419,434,461,472,489,493,501,514,597,600,615,660,664,685,689,695,706,741,748],[23,24,26],"h2",{"id":25},"构建报错已启用的功能缺少依赖","构建报错「已启用的功能缺少依赖」",[28,29,31],"collapsible",{"name":30},"错误信息",[32,33,39],"pre",{"className":34,"code":36,"filename":37,"language":14,"meta":38},[35],"language-text","[@movk\u002Fnuxt-docs] 已启用的功能缺少依赖：\n  - mermaid: mermaid, dompurify\n请安装后重试：pnpm add mermaid dompurify\n","terminal","",[40,41,36],"code",{"__ignoreMap":38},[10,43,44,45,50],{},"AI Chat、组件文档、Mermaid 与 a11y 默认关闭，它们的依赖是 Layer 的可选 peer 依赖，不会自动安装。打开对应开关后，Layer 在构建开始前检查依赖，缺少时中止构建并给出安装命令。执行报错中的命令即可，各功能所需的包见",[46,47,49],"a",{"href":48},"\u002Fdocs\u002Fguide\u002Ffeatures","功能开关","：",[52,53,54,67],"table",{},[55,56,57],"thead",{},[58,59,60,64],"tr",{},[61,62,63],"th",{},"功能",[61,65,66],{},"需要安装的包",[68,69,70,100,116,129],"tbody",{},[58,71,72,76],{},[73,74,75],"td",{},"AI Chat",[73,77,78,81,82,81,85,81,88,81,91,81,94,81,97],{},[40,79,80],{},"ai"," ",[40,83,84],{},"@ai-sdk\u002Fopenai",[40,86,87],{},"@ai-sdk\u002Fvue",[40,89,90],{},"@comark\u002Fvue",[40,92,93],{},"@shikijs\u002Fengine-javascript",[40,95,96],{},"@shikijs\u002Flangs",[40,98,99],{},"@shikijs\u002Fthemes",[58,101,102,105],{},[73,103,104],{},"组件文档",[73,106,107,81,110,81,113],{},[40,108,109],{},"nuxt-component-meta",[40,111,112],{},"vue-component-meta",[40,114,115],{},"prettier",[58,117,118,121],{},[73,119,120],{},"Mermaid",[73,122,123,81,126],{},[40,124,125],{},"mermaid",[40,127,128],{},"dompurify",[58,130,131,134],{},[73,132,133],{},"a11y",[73,135,136],{},[40,137,138],{},"@nuxt\u002Fa11y",[10,140,141,142,145,146,149],{},"AI Chat 在构建环境存在 ",[40,143,144],{},"AI_API_KEY"," 时自动启用，所以 CI 中配置了这个变量，就需要安装 AI Chat 的依赖；不需要时设置 ",[40,147,148],{},"aiChat.enabled: false","。",[23,151,153],{"id":152},"构建报错aichat-依赖-mcp-server","构建报错「aiChat 依赖 MCP Server」",[28,155,156],{"name":30},[32,157,160],{"className":158,"code":159,"filename":37,"language":14,"meta":38},[35],"[@movk\u002Fnuxt-docs] aiChat 依赖 MCP Server，请勿在启用 aiChat 时设置 movkNuxtDocs.mcp: false\n",[40,161,159],{"__ignoreMap":38},[10,163,164],{},"AI Chat 通过站点自身的 MCP Server 检索文档，两者不能拆开。保留 MCP，或同时关闭 AI Chat：",[32,166,171],{"className":167,"code":168,"filename":169,"language":170,"meta":38,"style":38},"language-ts shiki shiki-themes github-light github-light github-dark","export default defineNuxtConfig({\n  aiChat: {\n    enabled: false\n  },\n  movkNuxtDocs: {\n    mcp: false\n  }\n})\n","nuxt.config.ts","ts",[40,172,173,193,199,209,215,221,229,235],{"__ignoreMap":38},[174,175,178,182,185,189],"span",{"class":176,"line":177},"line",1,[174,179,181],{"class":180},"s8jYJ","export",[174,183,184],{"class":180}," default",[174,186,188],{"class":187},"snPdu"," defineNuxtConfig",[174,190,192],{"class":191},"sxrX7","({\n",[174,194,196],{"class":176,"line":195},2,[174,197,198],{"class":191},"  aiChat: {\n",[174,200,202,205],{"class":176,"line":201},3,[174,203,204],{"class":191},"    enabled: ",[174,206,208],{"class":207},"sBjJW","false\n",[174,210,212],{"class":176,"line":211},4,[174,213,214],{"class":191},"  },\n",[174,216,218],{"class":176,"line":217},5,[174,219,220],{"class":191},"  movkNuxtDocs: {\n",[174,222,224,227],{"class":176,"line":223},6,[174,225,226],{"class":191},"    mcp: ",[174,228,208],{"class":207},[174,230,232],{"class":176,"line":231},7,[174,233,234],{"class":191},"  }\n",[174,236,238],{"class":176,"line":237},8,[174,239,240],{"class":191},"})\n",[23,242,244],{"id":243},"文档页面全部-404","文档页面全部 404",[10,246,247],{},"构建时出现以下警告，说明 Layer 没有找到文档目录：",[32,249,252],{"className":250,"code":251,"filename":37,"language":14,"meta":38},[35],"[@movk\u002Fnuxt-docs] 未找到 content\u002Fdocs 目录，文档页面固定位于 \u002Fdocs 下，请将文档放入 content\u002Fdocs\u002F\n",[40,253,251],{"__ignoreMap":38},[10,255,256,257,260,261,264,265,268,269,149],{},"文档必须位于 ",[40,258,259],{},"content\u002Fdocs\u002F","，路由前缀固定为 ",[40,262,263],{},"\u002Fdocs","；多语言站点中其他语言放在 ",[40,266,267],{},"content\u002F{code}\u002Fdocs\u002F","。把文档移入该目录即可，文件名前的数字前缀只用于排序，不出现在 URL 中。目录约定见",[46,270,272],{"href":271},"\u002Fdocs\u002Fgetting-started\u002Fproject-structure","项目结构",[23,274,275],{"id":275},"启用多语言后构建失败",[10,277,278,281,282,285,286,289,290,293,294,296,297,299,300,50],{},[40,279,280],{},"i18n.locales"," 中声明了 ",[40,283,284],{},"file"," 时，",[40,287,288],{},"@nuxtjs\u002Fi18n"," 会去站点自己的 ",[40,291,292],{},"i18n\u002Flocales\u002F"," 目录查找翻译文件，找不到就会构建失败。去掉 ",[40,295,284],{},"，只保留 ",[40,298,40],{}," 与 ",[40,301,302],{},"name",[32,304,306],{"className":167,"code":305,"filename":169,"language":170,"meta":38,"style":38},"export default defineNuxtConfig({\n  i18n: {\n    defaultLocale: 'zh-CN',\n    locales: [\n      { code: 'zh-CN', name: '简体中文' },\n      { code: 'en', name: 'English' }\n    ]\n  }\n})\n",[40,307,308,318,323,335,340,356,371,376,380],{"__ignoreMap":38},[174,309,310,312,314,316],{"class":176,"line":177},[174,311,181],{"class":180},[174,313,184],{"class":180},[174,315,188],{"class":187},[174,317,192],{"class":191},[174,319,320],{"class":176,"line":195},[174,321,322],{"class":191},"  i18n: {\n",[174,324,325,328,332],{"class":176,"line":201},[174,326,327],{"class":191},"    defaultLocale: ",[174,329,331],{"class":330},"sIIMD","'zh-CN'",[174,333,334],{"class":191},",\n",[174,336,337],{"class":176,"line":211},[174,338,339],{"class":191},"    locales: [\n",[174,341,342,345,347,350,353],{"class":176,"line":217},[174,343,344],{"class":191},"      { code: ",[174,346,331],{"class":330},[174,348,349],{"class":191},", name: ",[174,351,352],{"class":330},"'简体中文'",[174,354,355],{"class":191}," },\n",[174,357,358,360,363,365,368],{"class":176,"line":223},[174,359,344],{"class":191},[174,361,362],{"class":330},"'en'",[174,364,349],{"class":191},[174,366,367],{"class":330},"'English'",[174,369,370],{"class":191}," }\n",[174,372,373],{"class":176,"line":231},[174,374,375],{"class":191},"    ]\n",[174,377,378],{"class":176,"line":237},[174,379,234],{"class":191},[174,381,383],{"class":176,"line":382},9,[174,384,240],{"class":191},[23,386,387],{"id":387},"某种语言没有生效",[10,389,390],{},"构建日志中出现「缺少翻译文件」或「缺少内容目录」的告警时，该语言已被跳过：",[32,392,395],{"className":393,"code":394,"filename":37,"language":14,"meta":38},[35],"[movk-docs] 缺少内容目录 content\u002Fen\u002F，已跳过 locale \"en\"\n",[40,396,394],{"__ignoreMap":38},[10,398,399,400,299,403,406,407,410,411,149],{},"非默认语言需要同时具备 Layer 内置的翻译文件（目前为 ",[40,401,402],{},"zh-CN",[40,404,405],{},"en","）和 ",[40,408,409],{},"content\u002F{code}\u002F"," 目录，见",[46,412,414],{"href":413},"\u002Fdocs\u002Fguide\u002Fi18n#%E8%AF%AD%E8%A8%80%E7%9A%84%E6%9C%89%E6%95%88%E6%9D%A1%E4%BB%B6","国际化",[23,416,418],{"id":417},"pnpm-安装后图片处理失败","pnpm 安装后图片处理失败",[10,420,421,422,425,426,429,430,433],{},"pnpm 默认不运行依赖的安装脚本，",[40,423,424],{},"@nuxt\u002Fimage"," 使用的 ",[40,427,428],{},"sharp"," 需要显式允许。在项目根目录的 ",[40,431,432],{},"pnpm-workspace.yaml"," 中声明：",[32,435,439],{"className":436,"code":437,"filename":432,"language":438,"meta":38,"style":38},"language-yaml shiki shiki-themes github-light github-light github-dark","allowBuilds:\n  sharp: true\n","yaml",[40,440,441,450],{"__ignoreMap":38},[174,442,443,447],{"class":176,"line":177},[174,444,446],{"class":445},"sovSZ","allowBuilds",[174,448,449],{"class":191},":\n",[174,451,452,455,458],{"class":176,"line":195},[174,453,454],{"class":445},"  sharp",[174,456,457],{"class":191},": ",[174,459,460],{"class":207},"true\n",[10,462,463,464,467,468,471],{},"也可以运行 ",[40,465,466],{},"pnpm approve-builds"," 交互式选择。修改后重新执行 ",[40,469,470],{},"pnpm install","。官方模板已包含这项配置。",[473,474,475,476,478,479,482,483,149],"note",{},"pnpm 11 起构建审批统一使用 ",[40,477,446],{},"，",[40,480,481],{},"onlyBuiltDependencies"," 等旧设置已移除。见 ",[46,484,488],{"href":485,"rel":486},"https:\u002F\u002Fpnpm.io\u002Fsettings#allowbuilds",[487],"nofollow","pnpm 文档",[23,490,492],{"id":491},"缺少-peer-依赖-tailwindcss","缺少 peer 依赖 tailwindcss",[28,494,495],{"name":30},[32,496,499],{"className":497,"code":498,"filename":37,"language":14,"meta":38},[35],"WARN  Issues with peer dependencies found\n└─┬ @movk\u002Fnuxt-docs\n  └── ✕ missing peer tailwindcss@4.x\n",[40,500,498],{"__ignoreMap":38},[10,502,503,506,507,299,510,513],{},[40,504,505],{},"nuxt","、",[40,508,509],{},"@nuxt\u002Fcontent",[40,511,512],{},"tailwindcss"," 是必需的 peer 依赖，需要在项目中安装：",[515,516,518,542,561,579],"code-group",{"sync":517},"package-manager",[32,519,524],{"className":520,"code":521,"filename":522,"language":523,"meta":38,"style":38},"language-bash shiki shiki-themes github-light github-light github-dark","pnpm add nuxt @nuxt\u002Fcontent tailwindcss\n","pnpm","bash",[40,525,526],{"__ignoreMap":38},[174,527,528,530,533,536,539],{"class":176,"line":177},[174,529,522],{"class":187},[174,531,532],{"class":330}," add",[174,534,535],{"class":330}," nuxt",[174,537,538],{"class":330}," @nuxt\u002Fcontent",[174,540,541],{"class":330}," tailwindcss\n",[32,543,546],{"className":520,"code":544,"filename":545,"language":523,"meta":38,"style":38},"npm install nuxt @nuxt\u002Fcontent tailwindcss\n","npm",[40,547,548],{"__ignoreMap":38},[174,549,550,552,555,557,559],{"class":176,"line":177},[174,551,545],{"class":187},[174,553,554],{"class":330}," install",[174,556,535],{"class":330},[174,558,538],{"class":330},[174,560,541],{"class":330},[32,562,565],{"className":520,"code":563,"filename":564,"language":523,"meta":38,"style":38},"yarn add nuxt @nuxt\u002Fcontent tailwindcss\n","yarn",[40,566,567],{"__ignoreMap":38},[174,568,569,571,573,575,577],{"class":176,"line":177},[174,570,564],{"class":187},[174,572,532],{"class":330},[174,574,535],{"class":330},[174,576,538],{"class":330},[174,578,541],{"class":330},[32,580,583],{"className":520,"code":581,"filename":582,"language":523,"meta":38,"style":38},"bun add nuxt @nuxt\u002Fcontent tailwindcss\n","bun",[40,584,585],{"__ignoreMap":38},[174,586,587,589,591,593,595],{"class":176,"line":177},[174,588,582],{"class":187},[174,590,532],{"class":330},[174,592,535],{"class":330},[174,594,538],{"class":330},[174,596,541],{"class":330},[23,598,599],{"id":599},"提交记录与最后更新时间不显示",[10,601,602,299,608,614],{},[46,603,605],{"href":604},"\u002Fdocs\u002Fcomponents\u002Fcommit-changelog",[40,606,607],{},"CommitChangelog",[46,609,611],{"href":610},"\u002Fdocs\u002Fcomponents\u002Fpage-last-commit",[40,612,613],{},"PageLastCommit"," 在浏览器中请求 GitHub 数据，依次检查：",[616,617,618,626,642,649],"ol",{},[619,620,621,622,625],"li",{},"运行环境是否设置了 ",[40,623,624],{},"NUXT_GITHUB_TOKEN","。没有令牌时接口直接返回空结果；",[619,627,628,631,632,506,635,506,638,641],{},[40,629,630],{},"app.config"," 的 ",[40,633,634],{},"github.owner",[40,636,637],{},"github.name",[40,639,640],{},"github.branch"," 是否与仓库一致。未设置时 Layer 会从 Git 信息推断，推断失败就没有数据；",[619,643,644,645,648],{},"文档不在仓库根目录时，",[40,646,647],{},"github.rootDir"," 是否指向文档所在目录；",[619,650,651,652,655,656,149],{},"站点是否以纯静态方式部署。静态站点没有 ",[40,653,654],{},"\u002Fapi\u002Fgithub\u002F*"," 接口，见",[46,657,659],{"href":658},"\u002Fdocs\u002Fguide\u002Fdeployment#%E9%9D%99%E6%80%81%E7%94%9F%E6%88%90","部署",[23,661,663],{"id":662},"ai-chat-没有出现","AI Chat 没有出现",[10,665,666,667,671,672,674,675,677,678,681,682,149],{},"AI Chat 是否打包在",[668,669,670],"strong",{},"构建时","决定：构建环境需要存在 ",[40,673,144],{},"，或在 ",[40,676,169],{}," 中设置 ",[40,679,680],{},"aiChat.enabled: true","。只在运行环境配置变量不会让已构建的站点出现 AI Chat，配置后需要重新构建。详见 ",[46,683,75],{"href":684},"\u002Fdocs\u002Fai\u002Fai-chat",[23,686,688],{"id":687},"google-fonts-请求失败","Google Fonts 请求失败",[32,690,693],{"className":691,"code":692,"filename":37,"language":14,"meta":38},[35],"Could not fetch from https:\u002F\u002Ffonts.google.com\u002Fmetadata\u002Ffonts. Will retry in 1000ms. 3 retries left.\n",[40,694,692],{"__ignoreMap":38},[10,696,697,698,701,702,705],{},"Layer 默认设置 ",[40,699,700],{},"ui.fonts: false","，并自托管 Inter、Fraunces 与 JetBrains Mono，不会请求 Google Fonts。出现这条警告说明项目中重新开启了 ",[40,703,704],{},"@nuxt\u002Ffonts","，关闭即可：",[32,707,709],{"className":167,"code":708,"filename":169,"language":170,"meta":38,"style":38},"export default defineNuxtConfig({\n  ui: {\n    fonts: false\n  }\n})\n",[40,710,711,721,726,733,737],{"__ignoreMap":38},[174,712,713,715,717,719],{"class":176,"line":177},[174,714,181],{"class":180},[174,716,184],{"class":180},[174,718,188],{"class":187},[174,720,192],{"class":191},[174,722,723],{"class":176,"line":195},[174,724,725],{"class":191},"  ui: {\n",[174,727,728,731],{"class":176,"line":201},[174,729,730],{"class":191},"    fonts: ",[174,732,208],{"class":207},[174,734,735],{"class":176,"line":211},[174,736,234],{"class":191},[174,738,739],{"class":176,"line":217},[174,740,240],{"class":191},[10,742,743,744,149],{},"需要中文字体时的引入方法见",[46,745,747],{"href":746},"\u002Fdocs\u002Fguide\u002Ftheme","主题与字体",[749,750,751],"style",{},"html pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sovSZ, html code.shiki .sovSZ{--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D}",{"title":38,"searchDepth":195,"depth":195,"links":753},[754,755,756,757,758,759,760,761,762,763],{"id":25,"depth":195,"text":26},{"id":152,"depth":195,"text":153},{"id":243,"depth":195,"text":244},{"id":275,"depth":195,"text":275},{"id":387,"depth":195,"text":387},{"id":417,"depth":195,"text":418},{"id":491,"depth":195,"text":492},{"id":599,"depth":195,"text":599},{"id":662,"depth":195,"text":663},{"id":687,"depth":195,"text":688},"shipping",null,"md",false,{},{"icon":770},"i-lucide-life-buoy","\u002Fdocs\u002Fguide\u002Ftroubleshooting",{"title":18,"description":15},{"loc":771},"docs\u002F2.guide\u002F10.troubleshooting","uF08v_T7X5lEPZdES4dktPFBlamPn3CFHz_2tknHyaU",[777],{"title":778,"path":263,"stem":779,"children":780,"page":767},"Docs","docs",[781,807,870,904,945,989],{"title":782,"path":783,"stem":784,"children":785,"category":765,"description":765,"icon":806},"开始","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[786,790,796,800],{"title":787,"path":783,"stem":784,"category":765,"description":788,"icon":789},"简介","可直接继承的 Nuxt Layer，集成排版、导航、搜索、SEO 和 AI，适合快速搭建文档站。","i-lucide-book-open",{"title":791,"path":792,"stem":793,"category":765,"description":794,"icon":795},"安装","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation","选用官方模板创建文档站，或将 Layer 接入现有 Nuxt 项目。","i-lucide-download",{"title":272,"path":271,"stem":797,"category":765,"description":798,"icon":799},"docs\u002F1.getting-started\u002F3.project-structure","了解文档内容放在哪里、页面如何生成，以及两份配置文件的分工。","i-lucide-folder-tree",{"title":801,"path":802,"stem":803,"category":765,"description":804,"icon":805},"从 v2 迁移","\u002Fdocs\u002Fgetting-started\u002Fmigration","docs\u002F1.getting-started\u002F4.migration","按 v2 与 v3 写法对照升级依赖、内容目录、配置和组件覆盖。","i-lucide-arrow-right-left","i-lucide-square-play",{"title":808,"category":765,"description":765,"icon":809,"path":810,"stem":811,"children":812,"page":767},"指南","i-lucide-compass","\u002Fdocs\u002Fguide","docs\u002F2.guide",[813,820,821,827,831,837,841,848,854,859,865],{"title":814,"path":815,"stem":816,"category":817,"description":818,"icon":819},"配置总览","\u002Fdocs\u002Fguide\u002Fconfiguration","docs\u002F2.guide\u002F1.configuration","basics","用 nuxt.config.ts 配置构建功能，用 app.config.ts 调整界面、文案和导航。","i-lucide-settings",{"title":18,"path":771,"stem":774,"category":764,"description":15,"icon":770},{"title":822,"path":823,"stem":824,"category":764,"description":825,"icon":826},"常见问题","\u002Fdocs\u002Fguide\u002Ffaq","docs\u002F2.guide\u002F11.faq","快速查阅运行环境、GitHub 集成、AI 模型、升级和静态部署的常见问题。","i-lucide-circle-help",{"title":747,"path":746,"stem":828,"category":817,"description":829,"icon":830},"docs\u002F2.guide\u002F2.theme","配置配色、标题字体与中文衬线字体，了解访客主题面板和动效偏好。","i-lucide-palette",{"title":832,"path":833,"stem":834,"category":817,"description":835,"icon":836},"导航与分类","\u002Fdocs\u002Fguide\u002Fnavigation","docs\u002F2.guide\u002F3.navigation","配置页头、移动端菜单和侧栏分类，了解多语言链接、导航过滤和搜索。","i-lucide-map",{"title":49,"path":48,"stem":838,"category":817,"description":839,"icon":840},"docs\u002F2.guide\u002F4.features","查看可选功能的默认值、所需依赖和关闭后的行为。","i-lucide-toggle-right",{"title":842,"path":843,"stem":844,"category":845,"description":846,"icon":847},"自定义","\u002Fdocs\u002Fguide\u002Fcustomization","docs\u002F2.guide\u002F5.customization","customization","用同名 Vue 组件覆盖页头、侧栏和页脚，查看可替换区域与示例。","i-lucide-paintbrush",{"title":849,"path":850,"stem":851,"category":845,"description":852,"icon":853},"页面与布局","\u002Fdocs\u002Fguide\u002Fpages","docs\u002F2.guide\u002F6.pages","从 content 生成首页、发布页和案例页，或在 app\u002Fpages 中自定义页面与布局。","i-lucide-layout-panel-top",{"title":414,"path":855,"stem":856,"category":845,"description":857,"icon":858},"\u002Fdocs\u002Fguide\u002Fi18n","docs\u002F2.guide\u002F7.i18n","用 @nuxtjs\u002Fi18n 配置多语言文档、界面翻译和 hreflang 链接。","i-lucide-languages",{"title":860,"path":861,"stem":862,"category":845,"description":863,"icon":864},"OG 图片","\u002Fdocs\u002Fguide\u002Fog-image","docs\u002F2.guide\u002F8.og-image","为文档生成社交分享图片，了解默认模板、中文字体和自定义方式。","i-lucide-image",{"title":659,"path":866,"stem":867,"category":764,"description":868,"icon":869},"\u002Fdocs\u002Fguide\u002Fdeployment","docs\u002F2.guide\u002F9.deployment","将文档站部署到 Cloudflare、Vercel、Netlify 或 Node.js，或导出静态站点。","i-lucide-rocket",{"title":871,"category":765,"description":765,"icon":872,"path":873,"stem":874,"children":875,"page":767},"AI","i-lucide-sparkles","\u002Fdocs\u002Fai","docs\u002F3.ai",[876,880,886,892,898],{"title":75,"path":684,"stem":877,"category":765,"description":878,"icon":879},"docs\u002F3.ai\u002F1.ai-chat","启用文档 AI 助手，配置模型、端点和其他服务商。","i-lucide-bot",{"title":881,"path":882,"stem":883,"category":765,"description":884,"icon":885},"MCP Server","\u002Fdocs\u002Fai\u002Fmcp","docs\u002F3.ai\u002F2.mcp","接入 \u002Fmcp 提供的文档工具、资源和提示词，了解如何配置或扩展服务。","i-lucide-plug",{"title":887,"path":888,"stem":889,"category":765,"description":890,"icon":891},"Agent Skills","\u002Fdocs\u002Fai\u002Fskills","docs\u002F3.ai\u002F3.skills","从 skills\u002F 目录发布 Agent Skills，让读者直接安装到支持的 AI 助手。","i-lucide-wand-sparkles",{"title":893,"path":894,"stem":895,"category":765,"description":896,"icon":897},"llms.txt","\u002Fdocs\u002Fai\u002Fllms-txt","docs\u002F3.ai\u002F4.llms-txt","配置 llms.txt 的目录分组，并用 llms-full.txt 提供文档全文。","i-lucide-file-text",{"title":899,"path":900,"stem":901,"category":765,"description":902,"icon":903},"代理发现","\u002Fdocs\u002Fai\u002Fagent-discovery","docs\u002F3.ai\u002F5.agent-discovery","通过 Markdown、站点地图和 \u002F.well-known 端点帮助 AI 代理发现和读取文档。","i-lucide-radar",{"title":905,"category":765,"description":765,"icon":906,"path":907,"stem":908,"children":909,"page":767},"写作","i-lucide-square-pilcrow","\u002Fdocs\u002Fwriting","docs\u002F4.writing",[910,916,922,928,933,939],{"title":911,"path":912,"stem":913,"category":765,"description":914,"icon":915},"Markdown 语法","\u002Fdocs\u002Fwriting\u002Fmarkdown-syntax","docs\u002F4.writing\u002F1.markdown-syntax","查看标题、链接、列表、表格和引用等 Markdown 语法的渲染示例。","i-lucide-heading",{"title":917,"path":918,"stem":919,"category":765,"description":920,"icon":921},"代码块","\u002Fdocs\u002Fwriting\u002Fcode-blocks","docs\u002F4.writing\u002F2.code-blocks","为代码添加文件名和行高亮，并组织多文件及多包管理器示例。","i-lucide-square-code",{"title":923,"path":924,"stem":925,"category":765,"description":926,"icon":927},"MDC 组件","\u002Fdocs\u002Fwriting\u002Fmdc-components","docs\u002F4.writing\u002F3.mdc-components","用 MDC 在 Markdown 中插入 Nuxt UI 的提示块、卡片、选项卡和其他组件。","i-lucide-puzzle",{"title":929,"path":930,"stem":931,"category":765,"description":932,"icon":864},"图片与视频","\u002Fdocs\u002Fwriting\u002Fmedia","docs\u002F4.writing\u002F4.media","在文档中插入图片和视频，配置亮暗色截图并编写替代文本。",{"title":934,"path":935,"stem":936,"category":765,"description":937,"icon":938},"Mermaid 图表","\u002Fdocs\u002Fwriting\u002Fmermaid","docs\u002F4.writing\u002F5.mermaid","启用 Mermaid，在 Markdown 中渲染适配亮暗主题的流程图、时序图和类图。","i-lucide-workflow",{"title":940,"path":941,"stem":942,"category":765,"description":943,"icon":944},"内容组件","\u002Fdocs\u002Fwriting\u002Fcontent-components","docs\u002F4.writing\u002F6.content-components","在 Markdown 中用内置内容组件添加动画、背景和落地页区块。","i-lucide-sparkle",{"title":946,"category":765,"description":765,"icon":947,"path":948,"stem":949,"children":950,"page":767},"组件","i-lucide-component","\u002Fdocs\u002Fcomponents","docs\u002F5.components",[951,957,963,969,975,981,985],{"title":952,"path":953,"stem":954,"category":765,"description":955,"icon":956},"ComponentProps","\u002Fdocs\u002Fcomponents\u002Fcomponent-props","docs\u002F5.components\u002F1.component-props","用 `:component-props` 从组件元数据生成 Props 表格，展示类型、默认值和说明。","i-lucide-list",{"title":958,"path":959,"stem":960,"category":765,"description":961,"icon":962},"ComponentSlots","\u002Fdocs\u002Fcomponents\u002Fcomponent-slots","docs\u002F5.components\u002F2.component-slots","用 `:component-slots` 根据 `defineSlots` 展示插槽名称、参数类型和说明。","i-lucide-layout-panel-left",{"title":964,"path":965,"stem":966,"category":765,"description":967,"icon":968},"ComponentEmits","\u002Fdocs\u002Fcomponents\u002Fcomponent-emits","docs\u002F5.components\u002F3.component-emits","用 `:component-emits` 根据 `defineEmits` 展示事件名称、参数和说明。","i-lucide-radio-tower",{"title":970,"path":971,"stem":972,"category":765,"description":973,"icon":974},"ComponentExample","\u002Fdocs\u002Fcomponents\u002Fcomponent-example","docs\u002F5.components\u002F4.component-example","用 `:component-example` 在文档中展示 Vue 示例的实时预览和高亮源码。","i-lucide-app-window",{"title":976,"path":977,"stem":978,"category":765,"description":979,"icon":980},"ComponentCode","\u002Fdocs\u002Fcomponents\u002Fcomponent-code","docs\u002F5.components\u002F5.component-code","用 `::component-code` 调整组件属性，并同步更新可复制的 Vue 示例。","i-lucide-sliders-horizontal",{"title":607,"path":604,"stem":982,"category":765,"description":983,"icon":984},"docs\u002F5.components\u002F6.commit-changelog","用 `:commit-changelog` 展示组件或文件的 GitHub 提交记录，并按版本分组。","i-lucide-git-commit-horizontal",{"title":613,"path":610,"stem":986,"category":765,"description":987,"icon":988},"docs\u002F5.components\u002F7.page-last-commit","在文档页显示 Markdown 文件最后一次提交的时间、作者与说明。","i-lucide-history",{"title":990,"category":765,"description":765,"icon":991,"path":992,"stem":993,"children":994,"page":767},"参考","i-lucide-book-marked","\u002Fdocs\u002Freference","docs\u002F6.reference",[995,1001,1007,1082],{"title":996,"path":997,"stem":998,"category":765,"description":999,"icon":1000},"app.config 参考","\u002Fdocs\u002Freference\u002Fapp-config","docs\u002F6.reference\u002F1.app-config","查看 app.config.ts 的全部字段、类型和默认值，以及对应的使用指南。","i-lucide-file-cog",{"title":1002,"path":1003,"stem":1004,"category":765,"description":1005,"icon":1006},"nuxt.config 选项","\u002Fdocs\u002Freference\u002Fnuxt-config","docs\u002F6.reference\u002F2.nuxt-config","查阅 Layer 在构建时使用的 nuxt.config 选项和环境变量。","i-lucide-settings-2",{"title":1008,"category":765,"description":765,"icon":1009,"path":1010,"stem":1011,"children":1012,"page":767},"组合式函数","i-lucide-square-function","\u002Fdocs\u002Freference\u002Fcomposables","docs\u002F6.reference\u002F3.composables",[1013,1018,1024,1030,1036,1042,1048,1054,1060,1065,1071,1077],{"title":1014,"path":1015,"stem":1016,"category":765,"description":1017,"icon":858},"useMovkI18n","\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-movk-i18n","docs\u002F6.reference\u002F3.composables\u002F1.use-movk-i18n","读取当前语言、翻译文案，生成本地化链接并查找对应的内容集合。",{"title":1019,"path":1020,"stem":1021,"category":765,"description":1022,"icon":1023},"useLocaleSeo","\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-locale-seo","docs\u002F6.reference\u002F3.composables\u002F10.use-locale-seo","为多语言页面生成 hreflang、x-default 和 og:locale。","i-lucide-globe",{"title":1025,"path":1026,"stem":1027,"category":765,"description":1028,"icon":1029},"useFetchComponentMeta","\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-fetch-component-meta","docs\u002F6.reference\u002F3.composables\u002F11.use-fetch-component-meta","启用组件文档后，读取 Props、Slots 和 Events 的类型与说明。","i-lucide-braces",{"title":1031,"path":1032,"stem":1033,"category":765,"description":1034,"icon":1035},"useFetchComponentExample","\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-fetch-component-example","docs\u002F6.reference\u002F3.composables\u002F12.use-fetch-component-example","启用组件文档后，读取 Vue 示例的源码、路径和组件名。","i-lucide-file-code",{"title":1037,"path":1038,"stem":1039,"category":765,"description":1040,"icon":1041},"useDocsNavigation","\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-docs-navigation","docs\u002F6.reference\u002F3.composables\u002F2.use-docs-navigation","复用站点外壳已加载的文档导航树，供自定义导航组件使用。","i-lucide-list-tree",{"title":1043,"path":1044,"stem":1045,"category":765,"description":1046,"icon":1047},"useNavigation","\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-navigation","docs\u002F6.reference\u002F3.composables\u002F3.use-navigation","从文档导航树提取栏目、生成侧栏分组和面包屑。","i-lucide-panel-left",{"title":1049,"path":1050,"stem":1051,"category":765,"description":1052,"icon":1053},"useHeader","\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-header","docs\u002F6.reference\u002F3.composables\u002F4.use-header","读取页头的桌面端与移动端链接，需要动态导航时可覆盖此函数。","i-lucide-panel-top",{"title":1055,"path":1056,"stem":1057,"category":765,"description":1058,"icon":1059},"useCategory","\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-category","docs\u002F6.reference\u002F3.composables\u002F5.use-category","读取侧栏分类定义，按配置为栏目内的页面分组和排序。","i-lucide-folders",{"title":1061,"path":1062,"stem":1063,"category":765,"description":1064,"icon":830},"useTheme","\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-theme","docs\u002F6.reference\u002F3.composables\u002F6.use-theme","管理颜色、圆角、图标和颜色模式，保存访客偏好并导出主题配置。",{"title":1066,"path":1067,"stem":1068,"category":765,"description":1069,"icon":1070},"useDocsRoute","\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-docs-route","docs\u002F6.reference\u002F3.composables\u002F7.use-docs-route","判断当前路由是否为文档子页，兼容默认路径和带语言前缀的路径。","i-lucide-route",{"title":1072,"path":1073,"stem":1074,"category":765,"description":1075,"icon":1076},"useDocsFilterConfig","\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-docs-filter-config","docs\u002F6.reference\u002F3.composables\u002F8.use-docs-filter-config","读取侧栏过滤设置、判断是否显示过滤框，并复用默认过滤逻辑。","i-lucide-list-filter",{"title":1078,"path":1079,"stem":1080,"category":765,"description":1081,"icon":974},"useDocsShell","\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-docs-shell","docs\u002F6.reference\u002F3.composables\u002F9.use-docs-shell","为页面外壳加载当前语言的导航与搜索索引，并设置页面语言与方向。",{"title":1083,"path":1084,"stem":1085,"category":765,"description":1086,"icon":1087},"A–Z 索引","\u002Fdocs\u002Freference\u002Fa-z","docs\u002F6.reference\u002F9.a-z","按英文标题的首字母查找文档，中文页面同时展示英文标题。","i-lucide-list-ordered",{"data":1089,"body":1090},{},{"type":6,"children":1091},[1092],{"type":9,"tag":10,"props":1093,"children":1094},{},[1095],{"type":14,"value":1096},"Copyright © 2024 - 2026",[1098,1099],{"title":814,"path":815,"stem":816,"description":818,"icon":819,"children":-1},{"title":822,"path":823,"stem":824,"description":825,"icon":826,"children":-1},1796367093456,"2ce86a3d-28e5-414a-a0bc-737c9421d4b3"]