[{"data":1,"prerenderedAt":2859,"buildId":2860},["ShallowReactive",2],{"-en-docs-getting-started-migration-description":3,"docs--en-docs-getting-started-migration":16,"docs-navigation-en":2533,"mdc--tctnej-key":2847,"surround--en-docs-getting-started-migration":2856},{"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","Upgrade from v2 to v3 with side-by-side examples for dependencies, content, configuration, and component overrides.",{"id":17,"title":18,"body":19,"category":2521,"description":15,"difficulty":2522,"extension":117,"index":2523,"keywords":2521,"links":2521,"meta":2524,"navigation":2525,"path":2527,"requires":2528,"seo":2529,"sitemap":2530,"stem":2531,"__hash__":2532},"docs_en\u002Fen\u002Fdocs\u002F1.getting-started\u002F4.migration.md","Migrating from v2",{"type":20,"value":21,"toc":2488},"minimark",[22,27,97,101,108,1153,1156,1164,1169,1187,1270,1274,1334,1337,1399,1403,1413,1430,1434,1443,1494,1498,1541,1547,1564,1571,1575,1584,1622,1626,1646,1682,1686,1689,1758,1762,1778,2019,2026,2030,2033,2037,2054,2110,2113,2116,2152,2159,2221,2228,2232,2245,2318,2322,2326,2338,2342,2345,2360,2367,2376,2383,2392,2437,2448,2468,2484],[23,24,26],"h2",{"id":25},"upgrade-steps","Upgrade steps",[28,29,30,47,58,70,87],"ol",{},[31,32,33,37,38,42,43,46],"li",{},[34,35,36],"strong",{},"Upgrade the package."," Update ",[39,40,41],"code",{},"@movk\u002Fnuxt-docs"," to ",[39,44,45],{},"^3.0.0",".",[31,48,49,52,53,46],{},[34,50,51],{},"Install optional dependencies."," Install dependencies for the features your project enables. See ",[54,55,57],"a",{"href":56},"#dependencies-and-feature-flags","Dependencies and feature flags",[31,59,60,63,64,46],{},[34,61,62],{},"Check the content directory."," Make sure your docs live in ",[54,65,67],{"href":66},"#content-directory",[39,68,69],{},"content\u002Fdocs\u002F",[31,71,72,75,76,82,83,46],{},[34,73,74],{},"Review configuration and overrides."," Check ",[54,77,79],{"href":78},"#config-fields",[39,80,81],{},"app.config.ts"," and ",[54,84,86],{"href":85},"#component-overrides","component overrides",[31,88,89,92,93,96],{},[34,90,91],{},"Verify the build."," Run ",[39,94,95],{},"nuxt build"," and follow the build log to resolve missing dependencies or conflicting options.",[23,98,100],{"id":99},"migrate-with-ai","Migrate with AI",[10,102,103,104,46],{},"Open Claude Code, Cursor or Codex in your project root, then expand and copy the prompt. You can also ask the agent to read the ",[54,105,107],{"href":106},"\u002Fraw\u002Fen\u002Fdocs\u002Fgetting-started\u002Fmigration.md","Markdown version of this page",[109,110,112],"collapsible",{"name":111},"full migration prompt",[113,114,119],"pre",{"className":115,"code":116,"language":117,"meta":118,"style":118},"language-md shiki shiki-themes github-light github-light github-dark","You are upgrading **this project** (a consumer of @movk\u002Fnuxt-docs) to **@movk\u002Fnuxt-docs 3.0**.\n\nv3 turns features that are off by default into optional peer dependencies, fixes the content directory, renames some config fields, and makes an editorial layout the new visual default. Most changes fail the build outright; a few (visual defaults, component overrides) only change how the site looks.\n\nYour job:\n\n1. Find code, config and content affected by the changes below, in **this repository only**.\n2. Rewrite them to the v3 form. Do not add compatibility shims for the old form.\n3. Keep the site's current behavior and look. For the visual defaults in section 6, ask me whether to keep the v2 look before changing anything.\n4. When done, run the project's `nuxt build`, typecheck and tests, and fix failures caused by the migration.\n5. Finish with a list of changed files, newly installed dependencies, and items I need to review by hand.\n\n## Do not change\n\n- `extends: ['@movk\u002Fnuxt-docs']` stays as is\n- Overriding `useHeader` \u002F `useCategory` still works; switch to `header.nav` \u002F `docs.categories` in `app.config` only if I agree\n- MDC syntax, frontmatter fields and numeric filename prefixes are unchanged\n- The `AI_API_KEY`, `AI_BASE_URL` and `NUXT_GITHUB_TOKEN` environment variable names are unchanged\n\n## Prerequisite\n\nUpgrade `@movk\u002Fnuxt-docs` to `^3.0.0` first, using the project's package manager:\n\n```bash\npnpm add @movk\u002Fnuxt-docs@^3.0.0\n```\n\n## Change list\n\n### 1. Dependencies of optional features\n\nThese features no longer bring their dependencies with the layer. Install only for the features the project actually uses:\n\n| Feature | Enabled when | Install |\n|---|---|---|\n| Component docs | Pages use `ComponentProps` \u002F `ComponentSlots` \u002F `ComponentEmits` \u002F `ComponentCode` \u002F `ComponentExample` | `nuxt-component-meta vue-component-meta prettier`, and set `movkNuxtDocs.componentDocs: true` |\n| AI Chat | `AI_API_KEY` is present at build time, or `aiChat.enabled: true` | `ai @ai-sdk\u002Fopenai @ai-sdk\u002Fvue @comark\u002Fvue @shikijs\u002Fengine-javascript @shikijs\u002Flangs @shikijs\u002Fthemes` |\n| Mermaid | `movkNuxtDocs.mermaid` is on | `mermaid dompurify` (v2 silently skipped missing dependencies, v3 fails the build) |\n| Accessibility checks | On by default in v2, off in v3 | If needed, set `movkNuxtDocs.a11y: true` and install `@nuxt\u002Fa11y` |\n| i18n | `modules` includes `@nuxtjs\u002Fi18n` | `@nuxtjs\u002Fi18n` |\n\nTo tell whether component docs are used, search `content\u002F` and `app\u002F` for the component names above.\n\n### 2. AI Chat and MCP\n\nWith AI Chat enabled, `movkNuxtDocs.mcp: false` fails the build. If both are present, remove `mcp: false`.\n\n### 3. Content directory\n\nDocs must live in `content\u002Fdocs\u002F`, other languages in `content\u002F{locale}\u002Fdocs\u002F`, and the route prefix is always `\u002Fdocs`. If docs sit directly under `content\u002F` (e.g. `content\u002F1.getting-started\u002F`), move them into `content\u002Fdocs\u002F` and update paths in internal links, `header.nav`, `docs.categories` and similar places. `content\u002Findex.md`, `content\u002Freleases.*` and `content\u002Ftemplates.*` stay at the root of `content\u002F`.\n\n### 4. Config fields\n\n- `github.per_page` in `app.config.ts` is renamed to `github.perPage`\n- v2 only showed commits after `2025-01-31` and before build time; v3 applies no filter. If the site relied on that, set `github.since` \u002F `github.until` explicitly\n\n### 5. Removed author-specific defaults\n\nv3 no longer ships these defaults. If the site depends on them, set them explicitly in the project config:\n\n- `header.avatar` (pointed to the author's avatar in v2)\n- `github.dateFormat.options.timeZone: 'Asia\u002FShanghai'`\n- The Alibaba PuHuiTi font CDN: the font stack still prefers that font, so load its stylesheet through `app.head.link` if needed\n\n### 6. Visual defaults (ask me first)\n\n| Item | v2 | v3 | Restore v2 |\n|---|---|---|---|\n| Primary \u002F neutral color | `green` \u002F `slate` | `vermilion` \u002F `paper` | In `app.config.ts`, set `ui.colors.primary: 'green'` and `ui.colors.neutral: 'slate'` |\n| Heading font | Sans-serif | Serif (Fraunces) | `theme.font: 'sans'` |\n| Code highlighting | Nuxt Content default | `github-light` \u002F `github-dark` | Set `content.build.markdown.highlight.theme` in `nuxt.config.ts` |\n\nColors, fonts and highlight themes the project already sets explicitly stay unchanged.\n\n### 7. Component overrides\n\nLook in `app\u002Fcomponents\u002F` for overrides with the same name as layer components:\n\n- The override contract table on the Customization page lists the overridable components, mount points and props. Components not listed there (such as `ThemePickerButton`) are internal; flag them for me to review\n- The header, sidebar, table of contents, prev\u002Fnext links and footer are redesigned. Flag overrides of these components, and CSS that depends on their DOM structure, for me to review\n- `PageHeaderLinks` now mounts in the meta row below the lead paragraph of doc pages\n- The layer overrides Nuxt UI's `ProsePre`; a `ProsePre` override in the project still wins and needs no change\n\n### 8. Removed APIs\n\n- Remove every reference to the `HeroBackground` component and the `heroBackground` key in `definePageMeta({ heroBackground: ... })`\n- If the project overrides `useToolCall`, change the `state` parameter type from `ToolState` to `string` and drop the unused `ToolState` import\n\n## Verification\n\n1. Run `nuxt build`. If it reports enabled features with missing dependencies, install them as instructed; `[request error]` logs mean dead links, so fix those links\n2. Run the project's typecheck and tests\n3. Start the dev server and spot-check the home page, a doc page and a page that uses component docs\n","md","",[39,120,121,143,150,156,161,167,172,187,196,205,221,230,235,242,247,259,296,304,329,334,340,345,362,367,373,387,393,398,404,409,415,420,426,431,437,443,487,508,526,543,564,569,586,591,597,602,619,624,630,635,704,709,715,720,739,764,769,775,780,786,791,802,810,824,829,835,840,846,852,894,905,932,937,943,948,954,959,971,976,990,998,1009,1028,1033,1039,1044,1067,1103,1108,1114,1119,1137,1145],{"__ignoreMap":118},[122,123,126,130,134,137,140],"span",{"class":124,"line":125},"line",1,[122,127,129],{"class":128},"sxrX7","You are upgrading ",[122,131,133],{"class":132},"sEO0R","**this project**",[122,135,136],{"class":128}," (a consumer of @movk\u002Fnuxt-docs) to ",[122,138,139],{"class":132},"**@movk\u002Fnuxt-docs 3.0**",[122,141,142],{"class":128},".\n",[122,144,146],{"class":124,"line":145},2,[122,147,149],{"emptyLinePlaceholder":148},true,"\n",[122,151,153],{"class":124,"line":152},3,[122,154,155],{"class":128},"v3 turns features that are off by default into optional peer dependencies, fixes the content directory, renames some config fields, and makes an editorial layout the new visual default. Most changes fail the build outright; a few (visual defaults, component overrides) only change how the site looks.\n",[122,157,159],{"class":124,"line":158},4,[122,160,149],{"emptyLinePlaceholder":148},[122,162,164],{"class":124,"line":163},5,[122,165,166],{"class":128},"Your job:\n",[122,168,170],{"class":124,"line":169},6,[122,171,149],{"emptyLinePlaceholder":148},[122,173,175,179,182,185],{"class":124,"line":174},7,[122,176,178],{"class":177},"sP4rz","1.",[122,180,181],{"class":128}," Find code, config and content affected by the changes below, in ",[122,183,184],{"class":132},"**this repository only**",[122,186,142],{"class":128},[122,188,190,193],{"class":124,"line":189},8,[122,191,192],{"class":177},"2.",[122,194,195],{"class":128}," Rewrite them to the v3 form. Do not add compatibility shims for the old form.\n",[122,197,199,202],{"class":124,"line":198},9,[122,200,201],{"class":177},"3.",[122,203,204],{"class":128}," Keep the site's current behavior and look. For the visual defaults in section 6, ask me whether to keep the v2 look before changing anything.\n",[122,206,208,211,214,218],{"class":124,"line":207},10,[122,209,210],{"class":177},"4.",[122,212,213],{"class":128}," When done, run the project's ",[122,215,217],{"class":216},"sBjJW","`nuxt build`",[122,219,220],{"class":128},", typecheck and tests, and fix failures caused by the migration.\n",[122,222,224,227],{"class":124,"line":223},11,[122,225,226],{"class":177},"5.",[122,228,229],{"class":128}," Finish with a list of changed files, newly installed dependencies, and items I need to review by hand.\n",[122,231,233],{"class":124,"line":232},12,[122,234,149],{"emptyLinePlaceholder":148},[122,236,238],{"class":124,"line":237},13,[122,239,241],{"class":240},"syb_3","## Do not change\n",[122,243,245],{"class":124,"line":244},14,[122,246,149],{"emptyLinePlaceholder":148},[122,248,250,253,256],{"class":124,"line":249},15,[122,251,252],{"class":177},"-",[122,254,255],{"class":216}," `extends: ['@movk\u002Fnuxt-docs']`",[122,257,258],{"class":128}," stays as is\n",[122,260,262,264,267,270,273,276,279,282,284,287,290,293],{"class":124,"line":261},16,[122,263,252],{"class":177},[122,265,266],{"class":128}," Overriding ",[122,268,269],{"class":216},"`useHeader`",[122,271,272],{"class":128}," \u002F ",[122,274,275],{"class":216},"`useCategory`",[122,277,278],{"class":128}," still works; switch to ",[122,280,281],{"class":216},"`header.nav`",[122,283,272],{"class":128},[122,285,286],{"class":216},"`docs.categories`",[122,288,289],{"class":128}," in ",[122,291,292],{"class":216},"`app.config`",[122,294,295],{"class":128}," only if I agree\n",[122,297,299,301],{"class":124,"line":298},17,[122,300,252],{"class":177},[122,302,303],{"class":128}," MDC syntax, frontmatter fields and numeric filename prefixes are unchanged\n",[122,305,307,309,312,315,318,321,323,326],{"class":124,"line":306},18,[122,308,252],{"class":177},[122,310,311],{"class":128}," The ",[122,313,314],{"class":216},"`AI_API_KEY`",[122,316,317],{"class":128},", ",[122,319,320],{"class":216},"`AI_BASE_URL`",[122,322,82],{"class":128},[122,324,325],{"class":216},"`NUXT_GITHUB_TOKEN`",[122,327,328],{"class":128}," environment variable names are unchanged\n",[122,330,332],{"class":124,"line":331},19,[122,333,149],{"emptyLinePlaceholder":148},[122,335,337],{"class":124,"line":336},20,[122,338,339],{"class":240},"## Prerequisite\n",[122,341,343],{"class":124,"line":342},21,[122,344,149],{"emptyLinePlaceholder":148},[122,346,348,351,354,356,359],{"class":124,"line":347},22,[122,349,350],{"class":128},"Upgrade ",[122,352,353],{"class":216},"`@movk\u002Fnuxt-docs`",[122,355,42],{"class":128},[122,357,358],{"class":216},"`^3.0.0`",[122,360,361],{"class":128}," first, using the project's package manager:\n",[122,363,365],{"class":124,"line":364},23,[122,366,149],{"emptyLinePlaceholder":148},[122,368,370],{"class":124,"line":369},24,[122,371,372],{"class":128},"```bash\n",[122,374,376,380,384],{"class":124,"line":375},25,[122,377,379],{"class":378},"snPdu","pnpm",[122,381,383],{"class":382},"sIIMD"," add",[122,385,386],{"class":382}," @movk\u002Fnuxt-docs@^3.0.0\n",[122,388,390],{"class":124,"line":389},26,[122,391,392],{"class":128},"```\n",[122,394,396],{"class":124,"line":395},27,[122,397,149],{"emptyLinePlaceholder":148},[122,399,401],{"class":124,"line":400},28,[122,402,403],{"class":240},"## Change list\n",[122,405,407],{"class":124,"line":406},29,[122,408,149],{"emptyLinePlaceholder":148},[122,410,412],{"class":124,"line":411},30,[122,413,414],{"class":240},"### 1. Dependencies of optional features\n",[122,416,418],{"class":124,"line":417},31,[122,419,149],{"emptyLinePlaceholder":148},[122,421,423],{"class":124,"line":422},32,[122,424,425],{"class":128},"These features no longer bring their dependencies with the layer. Install only for the features the project actually uses:\n",[122,427,429],{"class":124,"line":428},33,[122,430,149],{"emptyLinePlaceholder":148},[122,432,434],{"class":124,"line":433},34,[122,435,436],{"class":128},"| Feature | Enabled when | Install |\n",[122,438,440],{"class":124,"line":439},35,[122,441,442],{"class":128},"|---|---|---|\n",[122,444,446,449,452,454,457,459,462,464,467,469,472,475,478,481,484],{"class":124,"line":445},36,[122,447,448],{"class":128},"| Component docs | Pages use ",[122,450,451],{"class":216},"`ComponentProps`",[122,453,272],{"class":128},[122,455,456],{"class":216},"`ComponentSlots`",[122,458,272],{"class":128},[122,460,461],{"class":216},"`ComponentEmits`",[122,463,272],{"class":128},[122,465,466],{"class":216},"`ComponentCode`",[122,468,272],{"class":128},[122,470,471],{"class":216},"`ComponentExample`",[122,473,474],{"class":128}," | ",[122,476,477],{"class":216},"`nuxt-component-meta vue-component-meta prettier`",[122,479,480],{"class":128},", and set ",[122,482,483],{"class":216},"`movkNuxtDocs.componentDocs: true`",[122,485,486],{"class":128}," |\n",[122,488,490,493,495,498,501,503,506],{"class":124,"line":489},37,[122,491,492],{"class":128},"| AI Chat | ",[122,494,314],{"class":216},[122,496,497],{"class":128}," is present at build time, or ",[122,499,500],{"class":216},"`aiChat.enabled: true`",[122,502,474],{"class":128},[122,504,505],{"class":216},"`ai @ai-sdk\u002Fopenai @ai-sdk\u002Fvue @comark\u002Fvue @shikijs\u002Fengine-javascript @shikijs\u002Flangs @shikijs\u002Fthemes`",[122,507,486],{"class":128},[122,509,511,514,517,520,523],{"class":124,"line":510},38,[122,512,513],{"class":128},"| Mermaid | ",[122,515,516],{"class":216},"`movkNuxtDocs.mermaid`",[122,518,519],{"class":128}," is on | ",[122,521,522],{"class":216},"`mermaid dompurify`",[122,524,525],{"class":128}," (v2 silently skipped missing dependencies, v3 fails the build) |\n",[122,527,529,532,535,538,541],{"class":124,"line":528},39,[122,530,531],{"class":128},"| Accessibility checks | On by default in v2, off in v3 | If needed, set ",[122,533,534],{"class":216},"`movkNuxtDocs.a11y: true`",[122,536,537],{"class":128}," and install ",[122,539,540],{"class":216},"`@nuxt\u002Fa11y`",[122,542,486],{"class":128},[122,544,546,549,552,555,558,560,562],{"class":124,"line":545},40,[122,547,548],{"class":128},"| i18n | ",[122,550,551],{"class":216},"`modules`",[122,553,554],{"class":128}," includes ",[122,556,557],{"class":216},"`@nuxtjs\u002Fi18n`",[122,559,474],{"class":128},[122,561,557],{"class":216},[122,563,486],{"class":128},[122,565,567],{"class":124,"line":566},41,[122,568,149],{"emptyLinePlaceholder":148},[122,570,572,575,578,580,583],{"class":124,"line":571},42,[122,573,574],{"class":128},"To tell whether component docs are used, search ",[122,576,577],{"class":216},"`content\u002F`",[122,579,82],{"class":128},[122,581,582],{"class":216},"`app\u002F`",[122,584,585],{"class":128}," for the component names above.\n",[122,587,589],{"class":124,"line":588},43,[122,590,149],{"emptyLinePlaceholder":148},[122,592,594],{"class":124,"line":593},44,[122,595,596],{"class":240},"### 2. AI Chat and MCP\n",[122,598,600],{"class":124,"line":599},45,[122,601,149],{"emptyLinePlaceholder":148},[122,603,605,608,611,614,617],{"class":124,"line":604},46,[122,606,607],{"class":128},"With AI Chat enabled, ",[122,609,610],{"class":216},"`movkNuxtDocs.mcp: false`",[122,612,613],{"class":128}," fails the build. If both are present, remove ",[122,615,616],{"class":216},"`mcp: false`",[122,618,142],{"class":128},[122,620,622],{"class":124,"line":621},47,[122,623,149],{"emptyLinePlaceholder":148},[122,625,627],{"class":124,"line":626},48,[122,628,629],{"class":240},"### 3. Content directory\n",[122,631,633],{"class":124,"line":632},49,[122,634,149],{"emptyLinePlaceholder":148},[122,636,638,641,644,647,650,653,656,659,661,664,667,670,672,675,677,679,681,684,687,689,692,694,697,700,702],{"class":124,"line":637},50,[122,639,640],{"class":128},"Docs must live in ",[122,642,643],{"class":216},"`content\u002Fdocs\u002F`",[122,645,646],{"class":128},", other languages in ",[122,648,649],{"class":216},"`content\u002F{locale}\u002Fdocs\u002F`",[122,651,652],{"class":128},", and the route prefix is always ",[122,654,655],{"class":216},"`\u002Fdocs`",[122,657,658],{"class":128},". If docs sit directly under ",[122,660,577],{"class":216},[122,662,663],{"class":128}," (e.g. ",[122,665,666],{"class":216},"`content\u002F1.getting-started\u002F`",[122,668,669],{"class":128},"), move them into ",[122,671,643],{"class":216},[122,673,674],{"class":128}," and update paths in internal links, ",[122,676,281],{"class":216},[122,678,317],{"class":128},[122,680,286],{"class":216},[122,682,683],{"class":128}," and similar places. ",[122,685,686],{"class":216},"`content\u002Findex.md`",[122,688,317],{"class":128},[122,690,691],{"class":216},"`content\u002Freleases.*`",[122,693,82],{"class":128},[122,695,696],{"class":216},"`content\u002Ftemplates.*`",[122,698,699],{"class":128}," stay at the root of ",[122,701,577],{"class":216},[122,703,142],{"class":128},[122,705,707],{"class":124,"line":706},51,[122,708,149],{"emptyLinePlaceholder":148},[122,710,712],{"class":124,"line":711},52,[122,713,714],{"class":240},"### 4. Config fields\n",[122,716,718],{"class":124,"line":717},53,[122,719,149],{"emptyLinePlaceholder":148},[122,721,723,725,728,730,733,736],{"class":124,"line":722},54,[122,724,252],{"class":177},[122,726,727],{"class":216}," `github.per_page`",[122,729,289],{"class":128},[122,731,732],{"class":216},"`app.config.ts`",[122,734,735],{"class":128}," is renamed to ",[122,737,738],{"class":216},"`github.perPage`\n",[122,740,742,744,747,750,753,756,758,761],{"class":124,"line":741},55,[122,743,252],{"class":177},[122,745,746],{"class":128}," v2 only showed commits after ",[122,748,749],{"class":216},"`2025-01-31`",[122,751,752],{"class":128}," and before build time; v3 applies no filter. If the site relied on that, set ",[122,754,755],{"class":216},"`github.since`",[122,757,272],{"class":128},[122,759,760],{"class":216},"`github.until`",[122,762,763],{"class":128}," explicitly\n",[122,765,767],{"class":124,"line":766},56,[122,768,149],{"emptyLinePlaceholder":148},[122,770,772],{"class":124,"line":771},57,[122,773,774],{"class":240},"### 5. Removed author-specific defaults\n",[122,776,778],{"class":124,"line":777},58,[122,779,149],{"emptyLinePlaceholder":148},[122,781,783],{"class":124,"line":782},59,[122,784,785],{"class":128},"v3 no longer ships these defaults. If the site depends on them, set them explicitly in the project config:\n",[122,787,789],{"class":124,"line":788},60,[122,790,149],{"emptyLinePlaceholder":148},[122,792,794,796,799],{"class":124,"line":793},61,[122,795,252],{"class":177},[122,797,798],{"class":216}," `header.avatar`",[122,800,801],{"class":128}," (pointed to the author's avatar in v2)\n",[122,803,805,807],{"class":124,"line":804},62,[122,806,252],{"class":177},[122,808,809],{"class":216}," `github.dateFormat.options.timeZone: 'Asia\u002FShanghai'`\n",[122,811,813,815,818,821],{"class":124,"line":812},63,[122,814,252],{"class":177},[122,816,817],{"class":128}," The Alibaba PuHuiTi font CDN: the font stack still prefers that font, so load its stylesheet through ",[122,819,820],{"class":216},"`app.head.link`",[122,822,823],{"class":128}," if needed\n",[122,825,827],{"class":124,"line":826},64,[122,828,149],{"emptyLinePlaceholder":148},[122,830,832],{"class":124,"line":831},65,[122,833,834],{"class":240},"### 6. Visual defaults (ask me first)\n",[122,836,838],{"class":124,"line":837},66,[122,839,149],{"emptyLinePlaceholder":148},[122,841,843],{"class":124,"line":842},67,[122,844,845],{"class":128},"| Item | v2 | v3 | Restore v2 |\n",[122,847,849],{"class":124,"line":848},68,[122,850,851],{"class":128},"|---|---|---|---|\n",[122,853,855,858,861,863,866,868,871,873,876,879,881,884,887,889,892],{"class":124,"line":854},69,[122,856,857],{"class":128},"| Primary \u002F neutral color | ",[122,859,860],{"class":216},"`green`",[122,862,272],{"class":128},[122,864,865],{"class":216},"`slate`",[122,867,474],{"class":128},[122,869,870],{"class":216},"`vermilion`",[122,872,272],{"class":128},[122,874,875],{"class":216},"`paper`",[122,877,878],{"class":128}," | In ",[122,880,732],{"class":216},[122,882,883],{"class":128},", set ",[122,885,886],{"class":216},"`ui.colors.primary: 'green'`",[122,888,82],{"class":128},[122,890,891],{"class":216},"`ui.colors.neutral: 'slate'`",[122,893,486],{"class":128},[122,895,897,900,903],{"class":124,"line":896},70,[122,898,899],{"class":128},"| Heading font | Sans-serif | Serif (Fraunces) | ",[122,901,902],{"class":216},"`theme.font: 'sans'`",[122,904,486],{"class":128},[122,906,908,911,914,916,919,922,925,927,930],{"class":124,"line":907},71,[122,909,910],{"class":128},"| Code highlighting | Nuxt Content default | ",[122,912,913],{"class":216},"`github-light`",[122,915,272],{"class":128},[122,917,918],{"class":216},"`github-dark`",[122,920,921],{"class":128}," | Set ",[122,923,924],{"class":216},"`content.build.markdown.highlight.theme`",[122,926,289],{"class":128},[122,928,929],{"class":216},"`nuxt.config.ts`",[122,931,486],{"class":128},[122,933,935],{"class":124,"line":934},72,[122,936,149],{"emptyLinePlaceholder":148},[122,938,940],{"class":124,"line":939},73,[122,941,942],{"class":128},"Colors, fonts and highlight themes the project already sets explicitly stay unchanged.\n",[122,944,946],{"class":124,"line":945},74,[122,947,149],{"emptyLinePlaceholder":148},[122,949,951],{"class":124,"line":950},75,[122,952,953],{"class":240},"### 7. Component overrides\n",[122,955,957],{"class":124,"line":956},76,[122,958,149],{"emptyLinePlaceholder":148},[122,960,962,965,968],{"class":124,"line":961},77,[122,963,964],{"class":128},"Look in ",[122,966,967],{"class":216},"`app\u002Fcomponents\u002F`",[122,969,970],{"class":128}," for overrides with the same name as layer components:\n",[122,972,974],{"class":124,"line":973},78,[122,975,149],{"emptyLinePlaceholder":148},[122,977,979,981,984,987],{"class":124,"line":978},79,[122,980,252],{"class":177},[122,982,983],{"class":128}," The override contract table on the Customization page lists the overridable components, mount points and props. Components not listed there (such as ",[122,985,986],{"class":216},"`ThemePickerButton`",[122,988,989],{"class":128},") are internal; flag them for me to review\n",[122,991,993,995],{"class":124,"line":992},80,[122,994,252],{"class":177},[122,996,997],{"class":128}," The header, sidebar, table of contents, prev\u002Fnext links and footer are redesigned. Flag overrides of these components, and CSS that depends on their DOM structure, for me to review\n",[122,999,1001,1003,1006],{"class":124,"line":1000},81,[122,1002,252],{"class":177},[122,1004,1005],{"class":216}," `PageHeaderLinks`",[122,1007,1008],{"class":128}," now mounts in the meta row below the lead paragraph of doc pages\n",[122,1010,1012,1014,1017,1020,1023,1025],{"class":124,"line":1011},82,[122,1013,252],{"class":177},[122,1015,1016],{"class":128}," The layer overrides Nuxt UI's ",[122,1018,1019],{"class":216},"`ProsePre`",[122,1021,1022],{"class":128},"; a ",[122,1024,1019],{"class":216},[122,1026,1027],{"class":128}," override in the project still wins and needs no change\n",[122,1029,1031],{"class":124,"line":1030},83,[122,1032,149],{"emptyLinePlaceholder":148},[122,1034,1036],{"class":124,"line":1035},84,[122,1037,1038],{"class":240},"### 8. Removed APIs\n",[122,1040,1042],{"class":124,"line":1041},85,[122,1043,149],{"emptyLinePlaceholder":148},[122,1045,1047,1049,1052,1055,1058,1061,1064],{"class":124,"line":1046},86,[122,1048,252],{"class":177},[122,1050,1051],{"class":128}," Remove every reference to the ",[122,1053,1054],{"class":216},"`HeroBackground`",[122,1056,1057],{"class":128}," component and the ",[122,1059,1060],{"class":216},"`heroBackground`",[122,1062,1063],{"class":128}," key in ",[122,1065,1066],{"class":216},"`definePageMeta({ heroBackground: ... })`\n",[122,1068,1070,1072,1075,1078,1081,1084,1087,1090,1092,1095,1098,1100],{"class":124,"line":1069},87,[122,1071,252],{"class":177},[122,1073,1074],{"class":128}," If the project overrides ",[122,1076,1077],{"class":216},"`useToolCall`",[122,1079,1080],{"class":128},", change the ",[122,1082,1083],{"class":216},"`state`",[122,1085,1086],{"class":128}," parameter type from ",[122,1088,1089],{"class":216},"`ToolState`",[122,1091,42],{"class":128},[122,1093,1094],{"class":216},"`string`",[122,1096,1097],{"class":128}," and drop the unused ",[122,1099,1089],{"class":216},[122,1101,1102],{"class":128}," import\n",[122,1104,1106],{"class":124,"line":1105},88,[122,1107,149],{"emptyLinePlaceholder":148},[122,1109,1111],{"class":124,"line":1110},89,[122,1112,1113],{"class":240},"## Verification\n",[122,1115,1117],{"class":124,"line":1116},90,[122,1118,149],{"emptyLinePlaceholder":148},[122,1120,1122,1124,1126,1128,1131,1134],{"class":124,"line":1121},91,[122,1123,178],{"class":177},[122,1125,92],{"class":128},[122,1127,217],{"class":216},[122,1129,1130],{"class":128},". If it reports enabled features with missing dependencies, install them as instructed; ",[122,1132,1133],{"class":216},"`[request error]`",[122,1135,1136],{"class":128}," logs mean dead links, so fix those links\n",[122,1138,1140,1142],{"class":124,"line":1139},92,[122,1141,192],{"class":177},[122,1143,1144],{"class":128}," Run the project's typecheck and tests\n",[122,1146,1148,1150],{"class":124,"line":1147},93,[122,1149,201],{"class":177},[122,1151,1152],{"class":128}," Start the dev server and spot-check the home page, a doc page and a page that uses component docs\n",[23,1154,57],{"id":1155},"dependencies-and-feature-flags",[10,1157,1158,1159,1163],{},"v3 turns the dependencies of features that are off by default into optional peers, cutting the layer's direct dependencies from 47 to 35. If you enable a feature without its dependencies, the build fails and prints the install command. See ",[54,1160,1162],{"href":1161},"\u002Fen\u002Fdocs\u002Fguide\u002Ffeatures","Feature Flags"," for details.",[1165,1166,1168],"h3",{"id":1167},"component-docs-are-off-by-default","Component docs are off by default",[10,1170,1171,317,1174,317,1177,317,1180,82,1183,1186],{},[39,1172,1173],{},"ComponentProps",[39,1175,1176],{},"ComponentSlots",[39,1178,1179],{},"ComponentEmits",[39,1181,1182],{},"ComponentCode",[39,1184,1185],{},"ComponentExample"," must be enabled explicitly:",[1188,1189,1190,1247],"code-group",{},[113,1191,1196],{"className":1192,"code":1193,"filename":1194,"language":1195,"meta":118,"style":118},"language-ts shiki shiki-themes github-light github-light github-dark","export default defineNuxtConfig({\n  extends: ['@movk\u002Fnuxt-docs'],\n  movkNuxtDocs: {\n    componentDocs: true\n  }\n})\n","v3 nuxt.config.ts","ts",[39,1197,1198,1213,1224,1229,1237,1242],{"__ignoreMap":118},[122,1199,1200,1204,1207,1210],{"class":124,"line":125},[122,1201,1203],{"class":1202},"s8jYJ","export",[122,1205,1206],{"class":1202}," default",[122,1208,1209],{"class":378}," defineNuxtConfig",[122,1211,1212],{"class":128},"({\n",[122,1214,1215,1218,1221],{"class":124,"line":145},[122,1216,1217],{"class":128},"  extends: [",[122,1219,1220],{"class":382},"'@movk\u002Fnuxt-docs'",[122,1222,1223],{"class":128},"],\n",[122,1225,1226],{"class":124,"line":152},[122,1227,1228],{"class":128},"  movkNuxtDocs: {\n",[122,1230,1231,1234],{"class":124,"line":158},[122,1232,1233],{"class":128},"    componentDocs: ",[122,1235,1236],{"class":216},"true\n",[122,1238,1239],{"class":124,"line":163},[122,1240,1241],{"class":128},"  }\n",[122,1243,1244],{"class":124,"line":169},[122,1245,1246],{"class":128},"})\n",[113,1248,1253],{"className":1249,"code":1250,"filename":1251,"language":1252,"meta":118,"style":118},"language-bash shiki shiki-themes github-light github-light github-dark","pnpm add nuxt-component-meta vue-component-meta prettier\n","Install","bash",[39,1254,1255],{"__ignoreMap":118},[122,1256,1257,1259,1261,1264,1267],{"class":124,"line":125},[122,1258,379],{"class":378},[122,1260,383],{"class":382},[122,1262,1263],{"class":382}," nuxt-component-meta",[122,1265,1266],{"class":382}," vue-component-meta",[122,1268,1269],{"class":382}," prettier\n",[1165,1271,1273],{"id":1272},"install-dependencies-for-ai-chat-accessibility-checks-and-i18n","Install dependencies for AI Chat, accessibility checks and i18n",[1275,1276,1277,1290],"table",{},[1278,1279,1280],"thead",{},[1281,1282,1283,1287],"tr",{},[1284,1285,1286],"th",{},"Feature",[1284,1288,1289],{},"Enabled when",[1291,1292,1293,1308,1320],"tbody",{},[1281,1294,1295,1299],{},[1296,1297,1298],"td",{},"AI Chat",[1296,1300,1301,497,1304,1307],{},[39,1302,1303],{},"AI_API_KEY",[39,1305,1306],{},"aiChat.enabled: true"," is set",[1281,1309,1310,1313],{},[1296,1311,1312],{},"Accessibility checks",[1296,1314,1315,1316,1319],{},"Off by default in v3. Set ",[39,1317,1318],{},"movkNuxtDocs.a11y: true"," to enable",[1281,1321,1322,1325],{},[1296,1323,1324],{},"i18n",[1296,1326,1327,1330,1331],{},[39,1328,1329],{},"@nuxtjs\u002Fi18n"," is enabled in ",[39,1332,1333],{},"modules",[10,1335,1336],{},"Choose the install command for each feature you enable.",[1188,1338,1339,1371,1385],{},[113,1340,1342],{"className":1249,"code":1341,"filename":1298,"language":1252,"meta":118,"style":118},"pnpm add ai @ai-sdk\u002Fopenai @ai-sdk\u002Fvue @comark\u002Fvue @shikijs\u002Fengine-javascript @shikijs\u002Flangs @shikijs\u002Fthemes\n",[39,1343,1344],{"__ignoreMap":118},[122,1345,1346,1348,1350,1353,1356,1359,1362,1365,1368],{"class":124,"line":125},[122,1347,379],{"class":378},[122,1349,383],{"class":382},[122,1351,1352],{"class":382}," ai",[122,1354,1355],{"class":382}," @ai-sdk\u002Fopenai",[122,1357,1358],{"class":382}," @ai-sdk\u002Fvue",[122,1360,1361],{"class":382}," @comark\u002Fvue",[122,1363,1364],{"class":382}," @shikijs\u002Fengine-javascript",[122,1366,1367],{"class":382}," @shikijs\u002Flangs",[122,1369,1370],{"class":382}," @shikijs\u002Fthemes\n",[113,1372,1374],{"className":1249,"code":1373,"filename":1312,"language":1252,"meta":118,"style":118},"pnpm add @nuxt\u002Fa11y\n",[39,1375,1376],{"__ignoreMap":118},[122,1377,1378,1380,1382],{"class":124,"line":125},[122,1379,379],{"class":378},[122,1381,383],{"class":382},[122,1383,1384],{"class":382}," @nuxt\u002Fa11y\n",[113,1386,1388],{"className":1249,"code":1387,"filename":1324,"language":1252,"meta":118,"style":118},"pnpm add @nuxtjs\u002Fi18n\n",[39,1389,1390],{"__ignoreMap":118},[122,1391,1392,1394,1396],{"class":124,"line":125},[122,1393,379],{"class":378},[122,1395,383],{"class":382},[122,1397,1398],{"class":382}," @nuxtjs\u002Fi18n\n",[1165,1400,1402],{"id":1401},"mermaid-fails-the-build-when-dependencies-are-missing","Mermaid fails the build when dependencies are missing",[10,1404,1405,1406,272,1409,1412],{},"In v2, enabling Mermaid without ",[39,1407,1408],{},"mermaid",[39,1410,1411],{},"dompurify"," installed was silently skipped. v3 fails the build instead:",[113,1414,1416],{"className":1249,"code":1415,"language":1252,"meta":118,"style":118},"pnpm add mermaid dompurify\n",[39,1417,1418],{"__ignoreMap":118},[122,1419,1420,1422,1424,1427],{"class":124,"line":125},[122,1421,379],{"class":378},[122,1423,383],{"class":382},[122,1425,1426],{"class":382}," mermaid",[122,1428,1429],{"class":382}," dompurify\n",[1165,1431,1433],{"id":1432},"mcp-cannot-be-disabled-while-ai-chat-is-on","MCP cannot be disabled while AI Chat is on",[1435,1436,1437,1438,82,1440,46],"warning",{},"AI Chat retrieves docs through the MCP Server. The build fails if you set both ",[39,1439,1306],{},[39,1441,1442],{},"movkNuxtDocs.mcp: false",[113,1444,1447],{"className":1192,"code":1445,"filename":1446,"language":1195,"meta":118,"style":118},"export default defineNuxtConfig({\n  aiChat: { enabled: true },\n  movkNuxtDocs: {\n    mcp: false \u002F\u002F Error: aiChat depends on the MCP Server\n  }\n})\n","nuxt.config.ts",[39,1448,1449,1459,1470,1474,1486,1490],{"__ignoreMap":118},[122,1450,1451,1453,1455,1457],{"class":124,"line":125},[122,1452,1203],{"class":1202},[122,1454,1206],{"class":1202},[122,1456,1209],{"class":378},[122,1458,1212],{"class":128},[122,1460,1461,1464,1467],{"class":124,"line":145},[122,1462,1463],{"class":128},"  aiChat: { enabled: ",[122,1465,1466],{"class":216},"true",[122,1468,1469],{"class":128}," },\n",[122,1471,1472],{"class":124,"line":152},[122,1473,1228],{"class":128},[122,1475,1476,1479,1482],{"class":124,"line":158},[122,1477,1478],{"class":128},"    mcp: ",[122,1480,1481],{"class":216},"false",[122,1483,1485],{"class":1484},"sCsY4"," \u002F\u002F Error: aiChat depends on the MCP Server\n",[122,1487,1488],{"class":124,"line":163},[122,1489,1241],{"class":128},[122,1491,1492],{"class":124,"line":169},[122,1493,1246],{"class":128},[23,1495,1497],{"id":1496},"content-directory","Content directory",[1275,1499,1500,1510],{},[1278,1501,1502],{},[1281,1503,1504,1507],{},[1284,1505,1506],{},"Content",[1284,1508,1509],{},"v3 path",[1291,1511,1512,1521,1531],{},[1281,1513,1514,1517],{},[1296,1515,1516],{},"Docs in the default language",[1296,1518,1519],{},[39,1520,69],{},[1281,1522,1523,1526],{},[1296,1524,1525],{},"Docs in other languages",[1296,1527,1528],{},[39,1529,1530],{},"content\u002F{locale}\u002Fdocs\u002F",[1281,1532,1533,1536],{},[1296,1534,1535],{},"Docs route prefix",[1296,1537,1538],{},[39,1539,1540],{},"\u002Fdocs",[10,1542,1543,1544,1546],{},"If ",[39,1545,69],{}," was missing, v2 tried to serve docs from the root path, but those pages were unreachable. v3 removes this fallback.",[1188,1548,1549,1557],{},[113,1550,1555],{"className":1551,"code":1553,"filename":1554,"language":14,"meta":118},[1552],"language-text","content\u002F\n├── 1.getting-started\u002F\n└── 2.guide\u002F\n","v2 · Old directory",[39,1556,1553],{"__ignoreMap":118},[113,1558,1562],{"className":1559,"code":1560,"filename":1561,"language":14,"meta":118},[1552],"content\u002F\n└── docs\u002F\n    ├── 1.getting-started\u002F\n    └── 2.guide\u002F\n","v3 · New directory",[39,1563,1560],{"__ignoreMap":118},[1565,1566,1567,1568,1570],"note",{},"The build log prints a warning when ",[39,1569,69],{}," is missing.",[23,1572,1574],{"id":1573},"config-fields","Config fields",[1165,1576,1578,735,1581],{"id":1577},"githubper_page-is-renamed-to-githubperpage",[39,1579,1580],{},"github.per_page",[39,1582,1583],{},"github.perPage",[113,1585,1590],{"className":1586,"code":1587,"filename":1588,"language":1589,"meta":118,"style":118},"language-diff shiki shiki-themes github-light github-light github-dark","export default defineAppConfig({\n  github: {\n-   per_page: 50\n+   perPage: 50\n  }\n})\n","app\u002Fapp.config.ts","diff",[39,1591,1592,1597,1602,1608,1614,1618],{"__ignoreMap":118},[122,1593,1594],{"class":124,"line":125},[122,1595,1596],{"class":128},"export default defineAppConfig({\n",[122,1598,1599],{"class":124,"line":145},[122,1600,1601],{"class":128},"  github: {\n",[122,1603,1604],{"class":124,"line":152},[122,1605,1607],{"class":1606},"s8CdH","-   per_page: 50\n",[122,1609,1610],{"class":124,"line":158},[122,1611,1613],{"class":1612},"sovSZ","+   perPage: 50\n",[122,1615,1616],{"class":124,"line":163},[122,1617,1241],{"class":128},[122,1619,1620],{"class":124,"line":169},[122,1621,1246],{"class":128},[1165,1623,1625],{"id":1624},"commits-are-no-longer-filtered-by-date","Commits are no longer filtered by date",[10,1627,1628,1629,42,1632,82,1635,1638,1639,82,1642,1645],{},"v2 defaulted ",[39,1630,1631],{},"since",[39,1633,1634],{},"2025-01-31",[39,1636,1637],{},"until"," to the build time, hiding commits older than that date or made after the build. In v3, ",[39,1640,1641],{},"github.since",[39,1643,1644],{},"github.until"," are empty by default, with no limit. Set them explicitly to restrict the range:",[113,1647,1649],{"className":1192,"code":1648,"filename":1588,"language":1195,"meta":118,"style":118},"export default defineAppConfig({\n  github: {\n    since: '2025-01-01T00:00:00Z'\n  }\n})\n",[39,1650,1651,1662,1666,1674,1678],{"__ignoreMap":118},[122,1652,1653,1655,1657,1660],{"class":124,"line":125},[122,1654,1203],{"class":1202},[122,1656,1206],{"class":1202},[122,1658,1659],{"class":378}," defineAppConfig",[122,1661,1212],{"class":128},[122,1663,1664],{"class":124,"line":145},[122,1665,1601],{"class":128},[122,1667,1668,1671],{"class":124,"line":152},[122,1669,1670],{"class":128},"    since: ",[122,1672,1673],{"class":382},"'2025-01-01T00:00:00Z'\n",[122,1675,1676],{"class":124,"line":158},[122,1677,1241],{"class":128},[122,1679,1680],{"class":124,"line":163},[122,1681,1246],{"class":128},[1165,1683,1685],{"id":1684},"author-specific-defaults-are-removed","Author-specific defaults are removed",[10,1687,1688],{},"The v3 package no longer ships these defaults. Set them in your own config if you need them:",[1275,1690,1691,1704],{},[1278,1692,1693],{},[1281,1694,1695,1698,1701],{},[1284,1696,1697],{},"v2 default",[1284,1699,1700],{},"v3 default",[1284,1702,1703],{},"How to restore",[1291,1705,1706,1724,1742],{},[1281,1707,1708,1714,1719],{},[1296,1709,1710,1713],{},[39,1711,1712],{},"header.avatar"," pointing to the author's avatar",[1296,1715,1716],{},[39,1717,1718],{},"''",[1296,1720,1721,1722],{},"Set ",[39,1723,1712],{},[1281,1725,1726,1731,1734],{},[1296,1727,1728],{},[39,1729,1730],{},"github.dateFormat.options.timeZone: 'Asia\u002FShanghai'",[1296,1732,1733],{},"No time zone",[1296,1735,1721,1736,289,1739],{},[39,1737,1738],{},"timeZone",[39,1740,1741],{},"github.dateFormat.options",[1281,1743,1744,1747,1750],{},[1296,1745,1746],{},"Loads the Alibaba PuHuiTi font CDN",[1296,1748,1749],{},"Not loaded",[1296,1751,1752,1753,1757],{},"See ",[54,1754,1756],{"href":1755},"#fonts","Fonts"," below",[23,1759,1761],{"id":1760},"header-navigation-and-sidebar-categories","Header navigation and sidebar categories",[10,1763,1764,1765,272,1768,289,1771,1774,1775,1777],{},"In v2 you defined navigation by overriding ",[39,1766,1767],{},"useHeader",[39,1769,1770],{},"useCategory",[39,1772,1773],{},"app\u002Fcomposables\u002F",". v3 recommends declaring it in ",[39,1776,81],{},": labels can be localized, and internal links get the locale prefix and active state automatically. The old way still works.",[1188,1779,1780,1875],{},[113,1781,1784],{"className":1192,"code":1782,"filename":1783,"language":1195,"meta":118,"style":118},"export function useHeader() {\n  const desktopLinks = computed(() => [\n    { label: 'Docs', to: '\u002Fdocs\u002Fgetting-started', active: useRoute().path.startsWith('\u002Fdocs') }\n  ])\n  return { desktopLinks, mobileLinks: desktopLinks }\n}\n","v2 app\u002Fcomposables\u002FuseHeader.ts",[39,1785,1786,1799,1822,1857,1862,1870],{"__ignoreMap":118},[122,1787,1788,1790,1793,1796],{"class":124,"line":125},[122,1789,1203],{"class":1202},[122,1791,1792],{"class":1202}," function",[122,1794,1795],{"class":378}," useHeader",[122,1797,1798],{"class":128},"() {\n",[122,1800,1801,1804,1807,1810,1813,1816,1819],{"class":124,"line":145},[122,1802,1803],{"class":1202},"  const",[122,1805,1806],{"class":216}," desktopLinks",[122,1808,1809],{"class":1202}," =",[122,1811,1812],{"class":378}," computed",[122,1814,1815],{"class":128},"(() ",[122,1817,1818],{"class":1202},"=>",[122,1820,1821],{"class":128}," [\n",[122,1823,1824,1827,1830,1833,1836,1839,1842,1845,1848,1851,1854],{"class":124,"line":152},[122,1825,1826],{"class":128},"    { label: ",[122,1828,1829],{"class":382},"'Docs'",[122,1831,1832],{"class":128},", to: ",[122,1834,1835],{"class":382},"'\u002Fdocs\u002Fgetting-started'",[122,1837,1838],{"class":128},", active: ",[122,1840,1841],{"class":378},"useRoute",[122,1843,1844],{"class":128},"().path.",[122,1846,1847],{"class":378},"startsWith",[122,1849,1850],{"class":128},"(",[122,1852,1853],{"class":382},"'\u002Fdocs'",[122,1855,1856],{"class":128},") }\n",[122,1858,1859],{"class":124,"line":158},[122,1860,1861],{"class":128},"  ])\n",[122,1863,1864,1867],{"class":124,"line":163},[122,1865,1866],{"class":1202},"  return",[122,1868,1869],{"class":128}," { desktopLinks, mobileLinks: desktopLinks }\n",[122,1871,1872],{"class":124,"line":169},[122,1873,1874],{"class":128},"}\n",[113,1876,1879],{"className":1192,"code":1877,"filename":1878,"language":1195,"meta":118,"style":118},"export default defineAppConfig({\n  header: {\n    nav: [\n      { label: { 'zh-CN': '文档', 'en': 'Docs' }, to: '\u002Fdocs\u002Fgetting-started', activeMatch: '\u002Fdocs' }\n    ]\n  },\n  docs: {\n    categories: {\n      guide: [\n        { id: 'basics', title: { 'zh-CN': '基础', 'en': 'Basics' }, icon: 'i-lucide-settings' }\n      ]\n    }\n  }\n})\n","v3 app\u002Fapp.config.ts",[39,1880,1881,1891,1896,1901,1937,1942,1947,1952,1957,1962,2001,2006,2011,2015],{"__ignoreMap":118},[122,1882,1883,1885,1887,1889],{"class":124,"line":125},[122,1884,1203],{"class":1202},[122,1886,1206],{"class":1202},[122,1888,1659],{"class":378},[122,1890,1212],{"class":128},[122,1892,1893],{"class":124,"line":145},[122,1894,1895],{"class":128},"  header: {\n",[122,1897,1898],{"class":124,"line":152},[122,1899,1900],{"class":128},"    nav: [\n",[122,1902,1903,1906,1909,1912,1915,1917,1920,1922,1924,1927,1929,1932,1934],{"class":124,"line":158},[122,1904,1905],{"class":128},"      { label: { ",[122,1907,1908],{"class":382},"'zh-CN'",[122,1910,1911],{"class":128},": ",[122,1913,1914],{"class":382},"'文档'",[122,1916,317],{"class":128},[122,1918,1919],{"class":382},"'en'",[122,1921,1911],{"class":128},[122,1923,1829],{"class":382},[122,1925,1926],{"class":128}," }, to: ",[122,1928,1835],{"class":382},[122,1930,1931],{"class":128},", activeMatch: ",[122,1933,1853],{"class":382},[122,1935,1936],{"class":128}," }\n",[122,1938,1939],{"class":124,"line":163},[122,1940,1941],{"class":128},"    ]\n",[122,1943,1944],{"class":124,"line":169},[122,1945,1946],{"class":128},"  },\n",[122,1948,1949],{"class":124,"line":174},[122,1950,1951],{"class":128},"  docs: {\n",[122,1953,1954],{"class":124,"line":189},[122,1955,1956],{"class":128},"    categories: {\n",[122,1958,1959],{"class":124,"line":198},[122,1960,1961],{"class":128},"      guide: [\n",[122,1963,1964,1967,1970,1973,1975,1977,1980,1982,1984,1986,1989,1992,1999],{"class":124,"line":207},[122,1965,1966],{"class":128},"        { id: ",[122,1968,1969],{"class":382},"'basics'",[122,1971,1972],{"class":128},", title: { ",[122,1974,1908],{"class":382},[122,1976,1911],{"class":128},[122,1978,1979],{"class":382},"'基础'",[122,1981,317],{"class":128},[122,1983,1919],{"class":382},[122,1985,1911],{"class":128},[122,1987,1988],{"class":382},"'Basics'",[122,1990,1991],{"class":128}," }, icon: ",[122,1993,1994,1998],{"class":382},[1995,1996],"i",{"class":1997},"shiki-icon-highlight sFRD0","'i-lucide-settings'",[122,2000,1936],{"class":128},[122,2002,2003],{"class":124,"line":223},[122,2004,2005],{"class":128},"      ]\n",[122,2007,2008],{"class":124,"line":232},[122,2009,2010],{"class":128},"    }\n",[122,2012,2013],{"class":124,"line":237},[122,2014,1241],{"class":128},[122,2016,2017],{"class":124,"line":244},[122,2018,1246],{"class":128},[10,2020,1752,2021,2025],{},[54,2022,2024],{"href":2023},"\u002Fen\u002Fdocs\u002Fguide\u002Fnavigation","Navigation and Categories"," for the fields.",[23,2027,2029],{"id":2028},"visual-defaults","Visual defaults",[10,2031,2032],{},"v3 uses editorial typography as the default look. To keep the v2 appearance, revert the items one by one.",[1165,2034,2036],{"id":2035},"primary-and-neutral-colors","Primary and neutral colors",[10,2038,2039,2040,42,2043,2046,2047,42,2050,2053],{},"The default primary color changes from ",[39,2041,2042],{},"green",[39,2044,2045],{},"vermilion",", the neutral from ",[39,2048,2049],{},"slate",[39,2051,2052],{},"paper",", and the background is no longer pure white:",[113,2055,2057],{"className":1192,"code":2056,"filename":1588,"language":1195,"meta":118,"style":118},"export default defineAppConfig({\n  ui: {\n    colors: {\n      primary: 'green',\n      neutral: 'slate'\n    }\n  }\n})\n",[39,2058,2059,2069,2074,2079,2090,2098,2102,2106],{"__ignoreMap":118},[122,2060,2061,2063,2065,2067],{"class":124,"line":125},[122,2062,1203],{"class":1202},[122,2064,1206],{"class":1202},[122,2066,1659],{"class":378},[122,2068,1212],{"class":128},[122,2070,2071],{"class":124,"line":145},[122,2072,2073],{"class":128},"  ui: {\n",[122,2075,2076],{"class":124,"line":152},[122,2077,2078],{"class":128},"    colors: {\n",[122,2080,2081,2084,2087],{"class":124,"line":158},[122,2082,2083],{"class":128},"      primary: ",[122,2085,2086],{"class":382},"'green'",[122,2088,2089],{"class":128},",\n",[122,2091,2092,2095],{"class":124,"line":163},[122,2093,2094],{"class":128},"      neutral: ",[122,2096,2097],{"class":382},"'slate'\n",[122,2099,2100],{"class":124,"line":169},[122,2101,2010],{"class":128},[122,2103,2104],{"class":124,"line":174},[122,2105,1241],{"class":128},[122,2107,2108],{"class":124,"line":189},[122,2109,1246],{"class":128},[1165,2111,1756],{"id":2112},"fonts",[10,2114,2115],{},"The layer loads Inter, Fraunces and JetBrains Mono (Latin only) by default, with serif headings. To use sans-serif everywhere:",[113,2117,2119],{"className":1192,"code":2118,"filename":1588,"language":1195,"meta":118,"style":118},"export default defineAppConfig({\n  theme: {\n    font: 'sans'\n  }\n})\n",[39,2120,2121,2131,2136,2144,2148],{"__ignoreMap":118},[122,2122,2123,2125,2127,2129],{"class":124,"line":125},[122,2124,1203],{"class":1202},[122,2126,1206],{"class":1202},[122,2128,1659],{"class":378},[122,2130,1212],{"class":128},[122,2132,2133],{"class":124,"line":145},[122,2134,2135],{"class":128},"  theme: {\n",[122,2137,2138,2141],{"class":124,"line":152},[122,2139,2140],{"class":128},"    font: ",[122,2142,2143],{"class":382},"'sans'\n",[122,2145,2146],{"class":124,"line":158},[122,2147,1241],{"class":128},[122,2149,2150],{"class":124,"line":163},[122,2151,1246],{"class":128},[10,2153,2154,2155,2158],{},"The Alibaba PuHuiTi Chinese font CDN that v2 loaded automatically is gone. The font stack still prefers ",[39,2156,2157],{},"Alibaba PuHuiTi",", so loading the stylesheet yourself is enough:",[113,2160,2162],{"className":1192,"code":2161,"filename":1446,"language":1195,"meta":118,"style":118},"export default defineNuxtConfig({\n  app: {\n    head: {\n      link: [\n        { rel: 'stylesheet', href: 'https:\u002F\u002Fyour-cdn.example.com\u002Ffonts\u002Falibaba-puhuiti.css' }\n      ]\n    }\n  }\n})\n",[39,2163,2164,2174,2179,2184,2189,2205,2209,2213,2217],{"__ignoreMap":118},[122,2165,2166,2168,2170,2172],{"class":124,"line":125},[122,2167,1203],{"class":1202},[122,2169,1206],{"class":1202},[122,2171,1209],{"class":378},[122,2173,1212],{"class":128},[122,2175,2176],{"class":124,"line":145},[122,2177,2178],{"class":128},"  app: {\n",[122,2180,2181],{"class":124,"line":152},[122,2182,2183],{"class":128},"    head: {\n",[122,2185,2186],{"class":124,"line":158},[122,2187,2188],{"class":128},"      link: [\n",[122,2190,2191,2194,2197,2200,2203],{"class":124,"line":163},[122,2192,2193],{"class":128},"        { rel: ",[122,2195,2196],{"class":382},"'stylesheet'",[122,2198,2199],{"class":128},", href: ",[122,2201,2202],{"class":382},"'https:\u002F\u002Fyour-cdn.example.com\u002Ffonts\u002Falibaba-puhuiti.css'",[122,2204,1936],{"class":128},[122,2206,2207],{"class":124,"line":169},[122,2208,2005],{"class":128},[122,2210,2211],{"class":124,"line":174},[122,2212,2010],{"class":128},[122,2214,2215],{"class":124,"line":189},[122,2216,1241],{"class":128},[122,2218,2219],{"class":124,"line":198},[122,2220,1246],{"class":128},[10,2222,1752,2223,2227],{},[54,2224,2226],{"href":2225},"\u002Fen\u002Fdocs\u002Fguide\u002Ftheme","Theme and Fonts"," for adding Chinese serif headings.",[1165,2229,2231],{"id":2230},"code-highlighting-theme","Code highlighting theme",[10,2233,2234,2235,272,2238,2241,2242,2244],{},"Code blocks now use ",[39,2236,2237],{},"github-light",[39,2239,2240],{},"github-dark"," instead of the Nuxt Content default theme. Override it in ",[39,2243,1446],{}," for a different theme:",[113,2246,2248],{"className":1192,"code":2247,"filename":1446,"language":1195,"meta":118,"style":118},"export default defineNuxtConfig({\n  content: {\n    build: {\n      markdown: {\n        highlight: {\n          theme: { default: 'material-theme-lighter', dark: 'material-theme-palenight' }\n        }\n      }\n    }\n  }\n})\n",[39,2249,2250,2260,2265,2270,2275,2280,2296,2301,2306,2310,2314],{"__ignoreMap":118},[122,2251,2252,2254,2256,2258],{"class":124,"line":125},[122,2253,1203],{"class":1202},[122,2255,1206],{"class":1202},[122,2257,1209],{"class":378},[122,2259,1212],{"class":128},[122,2261,2262],{"class":124,"line":145},[122,2263,2264],{"class":128},"  content: {\n",[122,2266,2267],{"class":124,"line":152},[122,2268,2269],{"class":128},"    build: {\n",[122,2271,2272],{"class":124,"line":158},[122,2273,2274],{"class":128},"      markdown: {\n",[122,2276,2277],{"class":124,"line":163},[122,2278,2279],{"class":128},"        highlight: {\n",[122,2281,2282,2285,2288,2291,2294],{"class":124,"line":169},[122,2283,2284],{"class":128},"          theme: { default: ",[122,2286,2287],{"class":382},"'material-theme-lighter'",[122,2289,2290],{"class":128},", dark: ",[122,2292,2293],{"class":382},"'material-theme-palenight'",[122,2295,1936],{"class":128},[122,2297,2298],{"class":124,"line":174},[122,2299,2300],{"class":128},"        }\n",[122,2302,2303],{"class":124,"line":189},[122,2304,2305],{"class":128},"      }\n",[122,2307,2308],{"class":124,"line":198},[122,2309,2010],{"class":128},[122,2311,2312],{"class":124,"line":207},[122,2313,1241],{"class":128},[122,2315,2316],{"class":124,"line":223},[122,2317,1246],{"class":128},[23,2319,2321],{"id":2320},"component-overrides","Component overrides",[1165,2323,2325],{"id":2324},"the-override-contract-is-the-source-of-truth","The override contract is the source of truth",[10,2327,2328,2329,2333,2334,2337],{},"From v3, overridable components, where they mount and their props are listed in the override contract table on the ",[54,2330,2332],{"href":2331},"\u002Fen\u002Fdocs\u002Fguide\u002Fcustomization","Customization"," page, and stay stable within v3.x. Components that are not listed, such as ",[39,2335,2336],{},"ThemePickerButton",", are internal and may change between versions.",[1165,2339,2341],{"id":2340},"page-structure-is-redesigned","Page structure is redesigned",[10,2343,2344],{},"The header, sidebar, table of contents, previous \u002F next links and footer have new structure and styles. If you overrode these components or depend on their DOM structure in CSS, compare against the new implementation:",[2346,2347,2348,2351,2357],"ul",{},[31,2349,2350],{},"The header is a two-row masthead: wordmark, text navigation and search on top, the numbered section bar below",[31,2352,2353,2356],{},[39,2354,2355],{},"PageHeaderLinks"," moves from the right of the page title to the meta row below the lead paragraph",[31,2358,2359],{},"The active sidebar item is marked by a vermilion bar on the left",[1165,2361,2363,2364],{"id":2362},"the-layer-overrides-prosepre","The layer overrides ",[39,2365,2366],{},"ProsePre",[10,2368,2369,2370,2372,2373,2375],{},"The layer overrides Nuxt UI's ",[39,2371,2366],{}," so the copy button shows \"Copy \u002F Copied\" text. If you override ",[39,2374,2366],{}," in your project, yours takes precedence.",[1165,2377,2379,2382],{"id":2378},"herobackground-is-removed",[39,2380,2381],{},"HeroBackground"," is removed",[10,2384,2385,2386,1057,2388,2391],{},"The ",[39,2387,2381],{},[39,2389,2390],{},"heroBackground"," page meta are gone. Remove any references:",[113,2393,2396],{"className":1586,"code":2394,"filename":2395,"language":1589,"meta":118,"style":118},"\u003Cscript setup lang=\"ts\">\n- definePageMeta({ heroBackground: 'opacity-30' })\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n- \u003CHeroBackground \u002F>\n  \u003CContentRenderer :value=\"page\" \u002F>\n\u003C\u002Ftemplate>\n","app\u002Fpages\u002Findex.vue",[39,2397,2398,2403,2408,2413,2417,2422,2427,2432],{"__ignoreMap":118},[122,2399,2400],{"class":124,"line":125},[122,2401,2402],{"class":128},"\u003Cscript setup lang=\"ts\">\n",[122,2404,2405],{"class":124,"line":145},[122,2406,2407],{"class":1606},"- definePageMeta({ heroBackground: 'opacity-30' })\n",[122,2409,2410],{"class":124,"line":152},[122,2411,2412],{"class":128},"\u003C\u002Fscript>\n",[122,2414,2415],{"class":124,"line":158},[122,2416,149],{"emptyLinePlaceholder":148},[122,2418,2419],{"class":124,"line":163},[122,2420,2421],{"class":128},"\u003Ctemplate>\n",[122,2423,2424],{"class":124,"line":169},[122,2425,2426],{"class":1606},"- \u003CHeroBackground \u002F>\n",[122,2428,2429],{"class":124,"line":174},[122,2430,2431],{"class":128},"  \u003CContentRenderer :value=\"page\" \u002F>\n",[122,2433,2434],{"class":124,"line":189},[122,2435,2436],{"class":128},"\u003C\u002Ftemplate>\n",[1165,2438,2440,2443,2444,2447],{"id":2439},"usetoolcall-accepts-a-string-state",[39,2441,2442],{},"useToolCall"," accepts a ",[39,2445,2446],{},"string"," state",[10,2449,2450,2451,2453,2454,2457,2458,42,2461,2463,2464,2467],{},"When overriding ",[39,2452,2442],{},", the ",[39,2455,2456],{},"state"," parameter is widened from the AI SDK's ",[39,2459,2460],{},"ToolState",[39,2462,2446],{},", so core code does not depend on the optional ",[39,2465,2466],{},"ai"," package:",[113,2469,2472],{"className":1586,"code":2470,"filename":2471,"language":1589,"meta":118,"style":118},"-export function useToolCall(state: ToolState, toolName: string, input: Record\u003Cstring, string | undefined>) {\n+export function useToolCall(state: string, toolName: string, input: Record\u003Cstring, string | undefined>) {\n","app\u002Fcomposables\u002FuseToolCall.ts",[39,2473,2474,2479],{"__ignoreMap":118},[122,2475,2476],{"class":124,"line":125},[122,2477,2478],{"class":1606},"-export function useToolCall(state: ToolState, toolName: string, input: Record\u003Cstring, string | undefined>) {\n",[122,2480,2481],{"class":124,"line":145},[122,2482,2483],{"class":1612},"+export function useToolCall(state: string, toolName: string, input: Record\u003Cstring, string | undefined>) {\n",[2485,2486,2487],"style",{},"html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sEO0R, html code.shiki .sEO0R{--shiki-light:#24292E;--shiki-light-font-weight:bold;--shiki-default:#24292E;--shiki-default-font-weight:bold;--shiki-dark:#E1E4E8;--shiki-dark-font-weight:bold}html pre.shiki code .sP4rz, html code.shiki .sP4rz{--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .syb_3, html code.shiki .syb_3{--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-default:#005CC5;--shiki-default-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold}html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}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 .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .s8CdH, html code.shiki .s8CdH{--shiki-light:#B31D28;--shiki-default:#B31D28;--shiki-dark:#FDAEB7}html pre.shiki code .sovSZ, html code.shiki .sovSZ{--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sFRD0, html code.shiki .sFRD0{--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fsettings.svg?color=%23000)}",{"title":118,"searchDepth":145,"depth":145,"links":2489},[2490,2491,2492,2498,2499,2505,2506,2511],{"id":25,"depth":145,"text":26},{"id":99,"depth":145,"text":100},{"id":1155,"depth":145,"text":57,"children":2493},[2494,2495,2496,2497],{"id":1167,"depth":152,"text":1168},{"id":1272,"depth":152,"text":1273},{"id":1401,"depth":152,"text":1402},{"id":1432,"depth":152,"text":1433},{"id":1496,"depth":145,"text":1497},{"id":1573,"depth":145,"text":1574,"children":2500},[2501,2503,2504],{"id":1577,"depth":152,"text":2502},"github.per_page is renamed to github.perPage",{"id":1624,"depth":152,"text":1625},{"id":1684,"depth":152,"text":1685},{"id":1760,"depth":145,"text":1761},{"id":2028,"depth":145,"text":2029,"children":2507},[2508,2509,2510],{"id":2035,"depth":152,"text":2036},{"id":2112,"depth":152,"text":1756},{"id":2230,"depth":152,"text":2231},{"id":2320,"depth":145,"text":2321,"children":2512},[2513,2514,2515,2517,2519],{"id":2324,"depth":152,"text":2325},{"id":2340,"depth":152,"text":2341},{"id":2362,"depth":152,"text":2516},"The layer overrides ProsePre",{"id":2378,"depth":152,"text":2518},"HeroBackground is removed",{"id":2439,"depth":152,"text":2520},"useToolCall accepts a string state",null,"intermediate",false,{},{"icon":2526},"i-lucide-arrow-right-left","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fmigration","@movk\u002Fnuxt-docs 3.0",{"title":18,"description":15},{"loc":2527},"en\u002Fdocs\u002F1.getting-started\u002F4.migration","ibknTI8q-tykmeufeJ5BBjYJXyzZtsFl2CONiFGC4Bc",[2534],{"title":2535,"path":2536,"stem":2537,"children":2538,"page":2523},"Docs","\u002Fen\u002Fdocs","en\u002Fdocs",[2539,2562,2631,2666,2707,2750],{"title":2540,"path":2541,"stem":2542,"children":2543,"category":2521,"description":2521,"icon":2561},"Get Started","\u002Fen\u002Fdocs\u002Fgetting-started","en\u002Fdocs\u002F1.getting-started\u002F1.index",[2544,2548,2554,2560],{"title":2545,"path":2541,"stem":2542,"category":2521,"description":2546,"icon":2547},"Introduction","Build a Nuxt documentation site with built-in typography, navigation, search, SEO, and AI features.","i-lucide-book-open",{"title":2549,"path":2550,"stem":2551,"category":2521,"description":2552,"icon":2553},"Installation","\u002Fen\u002Fdocs\u002Fgetting-started\u002Finstallation","en\u002Fdocs\u002F1.getting-started\u002F2.installation","Start from an official template or add the layer to an existing Nuxt project. Compare setups and requirements.","i-lucide-download",{"title":2555,"path":2556,"stem":2557,"category":2521,"description":2558,"icon":2559},"Project Structure","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fproject-structure","en\u002Fdocs\u002F1.getting-started\u002F3.project-structure","See where content lives, how it becomes routes, and what each configuration file controls.","i-lucide-folder-tree",{"title":18,"path":2527,"stem":2531,"category":2521,"description":15,"icon":2526},"i-lucide-square-play",{"title":2563,"category":2521,"description":2521,"icon":2564,"path":2565,"stem":2566,"children":2567,"page":2523},"Guide","i-lucide-compass","\u002Fen\u002Fdocs\u002Fguide","en\u002Fdocs\u002F2.guide",[2568,2575,2582,2588,2593,2598,2602,2607,2613,2619,2625],{"title":2569,"path":2570,"stem":2571,"category":2572,"description":2573,"icon":2574},"Configuration Overview","\u002Fen\u002Fdocs\u002Fguide\u002Fconfiguration","en\u002Fdocs\u002F2.guide\u002F1.configuration","basics","Use nuxt.config.ts for build-time features and app.config.ts for UI, copy, and navigation.","i-lucide-settings",{"title":2576,"path":2577,"stem":2578,"category":2579,"description":2580,"icon":2581},"Troubleshooting","\u002Fen\u002Fdocs\u002Fguide\u002Ftroubleshooting","en\u002Fdocs\u002F2.guide\u002F10.troubleshooting","shipping","Troubleshoot missing dependencies, docs 404s, i18n, AI Chat, and other build or runtime errors.","i-lucide-life-buoy",{"title":2583,"path":2584,"stem":2585,"category":2579,"description":2586,"icon":2587},"FAQ","\u002Fen\u002Fdocs\u002Fguide\u002Ffaq","en\u002Fdocs\u002F2.guide\u002F11.faq","Find answers about runtime requirements, GitHub integration, AI providers, upgrades, and static hosting.","i-lucide-circle-help",{"title":2589,"path":2225,"stem":2590,"category":2572,"description":2591,"icon":2592},"Theme & Fonts","en\u002Fdocs\u002F2.guide\u002F2.theme","Customize the palette and heading fonts, add a CJK serif font, and configure visitor theme and motion preferences.","i-lucide-palette",{"title":2594,"path":2023,"stem":2595,"category":2572,"description":2596,"icon":2597},"Navigation & Categories","en\u002Fdocs\u002F2.guide\u002F3.navigation","Configure header links, mobile menus, and sidebar groups, with localized links, navigation filtering, and search.","i-lucide-map",{"title":1162,"path":1161,"stem":2599,"category":2572,"description":2600,"icon":2601},"en\u002Fdocs\u002F2.guide\u002F4.features","Check which optional features are enabled by default, what they require, and what happens when you turn them off.","i-lucide-toggle-right",{"title":2332,"path":2331,"stem":2603,"category":2604,"description":2605,"icon":2606},"en\u002Fdocs\u002F2.guide\u002F5.customization","customization","Override the header, sidebars, and footer with same-named Vue components. See supported overrides and examples.","i-lucide-paintbrush",{"title":2608,"path":2609,"stem":2610,"category":2604,"description":2611,"icon":2612},"Pages & Layouts","\u002Fen\u002Fdocs\u002Fguide\u002Fpages","en\u002Fdocs\u002F2.guide\u002F6.pages","Generate landing, releases, and showcase pages from content, or create custom pages and layouts in app\u002Fpages.","i-lucide-layout-panel-top",{"title":2614,"path":2615,"stem":2616,"category":2604,"description":2617,"icon":2618},"Internationalization","\u002Fen\u002Fdocs\u002Fguide\u002Fi18n","en\u002Fdocs\u002F2.guide\u002F7.i18n","Use @nuxtjs\u002Fi18n to organize translated docs, override UI strings, and generate hreflang links.","i-lucide-languages",{"title":2620,"path":2621,"stem":2622,"category":2604,"description":2623,"icon":2624},"OG Images","\u002Fen\u002Fdocs\u002Fguide\u002Fog-image","en\u002Fdocs\u002F2.guide\u002F8.og-image","Generate social sharing images for your docs and configure the built-in template, CJK fonts, or custom cards.","i-lucide-image",{"title":2626,"path":2627,"stem":2628,"category":2579,"description":2629,"icon":2630},"Deployment","\u002Fen\u002Fdocs\u002Fguide\u002Fdeployment","en\u002Fdocs\u002F2.guide\u002F9.deployment","Deploy to Cloudflare, Vercel, Netlify, or Node.js, or generate a static site. Check build settings and hosting limits.","i-lucide-rocket",{"title":2632,"category":2521,"description":2521,"icon":2633,"path":2634,"stem":2635,"children":2636,"page":2523},"AI","i-lucide-sparkles","\u002Fen\u002Fdocs\u002Fai","en\u002Fdocs\u002F3.ai",[2637,2642,2648,2654,2660],{"title":1298,"path":2638,"stem":2639,"category":2521,"description":2640,"icon":2641},"\u002Fen\u002Fdocs\u002Fai\u002Fai-chat","en\u002Fdocs\u002F3.ai\u002F1.ai-chat","Enable the built-in docs assistant and configure its models, endpoints, and providers.","i-lucide-bot",{"title":2643,"path":2644,"stem":2645,"category":2521,"description":2646,"icon":2647},"MCP Server","\u002Fen\u002Fdocs\u002Fai\u002Fmcp","en\u002Fdocs\u002F3.ai\u002F2.mcp","Connect to the docs tools, resources, and prompts at \u002Fmcp, then configure or extend the server.","i-lucide-plug",{"title":2649,"path":2650,"stem":2651,"category":2521,"description":2652,"icon":2653},"Agent Skills","\u002Fen\u002Fdocs\u002Fai\u002Fskills","en\u002Fdocs\u002F3.ai\u002F3.skills","Publish Agent Skills from skills\u002F so readers can install them in supported AI assistants.","i-lucide-wand-sparkles",{"title":2655,"path":2656,"stem":2657,"category":2521,"description":2658,"icon":2659},"llms.txt","\u002Fen\u002Fdocs\u002Fai\u002Fllms-txt","en\u002Fdocs\u002F3.ai\u002F4.llms-txt","Organize the docs index in llms.txt and publish the full Markdown content in llms-full.txt.","i-lucide-file-text",{"title":2661,"path":2662,"stem":2663,"category":2521,"description":2664,"icon":2665},"Agent Discovery","\u002Fen\u002Fdocs\u002Fai\u002Fagent-discovery","en\u002Fdocs\u002F3.ai\u002F5.agent-discovery","Help AI agents discover and read the docs through Markdown, a sitemap, and \u002F.well-known endpoints.","i-lucide-radar",{"title":2667,"category":2521,"description":2521,"icon":2668,"path":2669,"stem":2670,"children":2671,"page":2523},"Writing","i-lucide-square-pilcrow","\u002Fen\u002Fdocs\u002Fwriting","en\u002Fdocs\u002F4.writing",[2672,2678,2684,2690,2695,2701],{"title":2673,"path":2674,"stem":2675,"category":2521,"description":2676,"icon":2677},"Markdown Syntax","\u002Fen\u002Fdocs\u002Fwriting\u002Fmarkdown-syntax","en\u002Fdocs\u002F4.writing\u002F1.markdown-syntax","See how Markdown headings, links, lists, tables, and blockquotes render in the docs.","i-lucide-heading",{"title":2679,"path":2680,"stem":2681,"category":2521,"description":2682,"icon":2683},"Code Blocks","\u002Fen\u002Fdocs\u002Fwriting\u002Fcode-blocks","en\u002Fdocs\u002F4.writing\u002F2.code-blocks","Label and highlight code blocks, then organize multi-file and package-manager examples.","i-lucide-square-code",{"title":2685,"path":2686,"stem":2687,"category":2521,"description":2688,"icon":2689},"MDC Components","\u002Fen\u002Fdocs\u002Fwriting\u002Fmdc-components","en\u002Fdocs\u002F4.writing\u002F3.mdc-components","Use MDC to add Nuxt UI callouts, cards, tabs, and other prose components to Markdown.","i-lucide-puzzle",{"title":2691,"path":2692,"stem":2693,"category":2521,"description":2694,"icon":2624},"Images and Video","\u002Fen\u002Fdocs\u002Fwriting\u002Fmedia","en\u002Fdocs\u002F4.writing\u002F4.media","Embed images and videos, provide light and dark screenshots, and write descriptive alt text.",{"title":2696,"path":2697,"stem":2698,"category":2521,"description":2699,"icon":2700},"Mermaid Diagrams","\u002Fen\u002Fdocs\u002Fwriting\u002Fmermaid","en\u002Fdocs\u002F4.writing\u002F5.mermaid","Enable Mermaid to render theme-aware flowcharts, sequence diagrams, and class diagrams from Markdown.","i-lucide-workflow",{"title":2702,"path":2703,"stem":2704,"category":2521,"description":2705,"icon":2706},"Content Components","\u002Fen\u002Fdocs\u002Fwriting\u002Fcontent-components","en\u002Fdocs\u002F4.writing\u002F6.content-components","Use the layer's content components to add animations, backgrounds, and landing sections in Markdown.","i-lucide-sparkle",{"title":2708,"category":2521,"description":2521,"icon":2709,"path":2710,"stem":2711,"children":2712,"page":2523},"Components","i-lucide-component","\u002Fen\u002Fdocs\u002Fcomponents","en\u002Fdocs\u002F5.components",[2713,2718,2723,2728,2733,2738,2744],{"title":1173,"path":2714,"stem":2715,"category":2521,"description":2716,"icon":2717},"\u002Fen\u002Fdocs\u002Fcomponents\u002Fcomponent-props","en\u002Fdocs\u002F5.components\u002F1.component-props","Generate a Vue props table with `:component-props`, using types, defaults, and descriptions from component metadata.","i-lucide-list",{"title":1176,"path":2719,"stem":2720,"category":2521,"description":2721,"icon":2722},"\u002Fen\u002Fdocs\u002Fcomponents\u002Fcomponent-slots","en\u002Fdocs\u002F5.components\u002F2.component-slots","Use `:component-slots` to list slot names, scoped parameter types, and descriptions from `defineSlots`.","i-lucide-layout-panel-left",{"title":1179,"path":2724,"stem":2725,"category":2521,"description":2726,"icon":2727},"\u002Fen\u002Fdocs\u002Fcomponents\u002Fcomponent-emits","en\u002Fdocs\u002F5.components\u002F3.component-emits","Use `:component-emits` to list event names, parameters, and descriptions from `defineEmits`.","i-lucide-radio-tower",{"title":1185,"path":2729,"stem":2730,"category":2521,"description":2731,"icon":2732},"\u002Fen\u002Fdocs\u002Fcomponents\u002Fcomponent-example","en\u002Fdocs\u002F5.components\u002F4.component-example","Show a live Vue example and its highlighted source together with `:component-example`.","i-lucide-app-window",{"title":1182,"path":2734,"stem":2735,"category":2521,"description":2736,"icon":2737},"\u002Fen\u002Fdocs\u002Fcomponents\u002Fcomponent-code","en\u002Fdocs\u002F5.components\u002F5.component-code","Use `::component-code` to adjust component props and generate a matching Vue snippet you can copy.","i-lucide-sliders-horizontal",{"title":2739,"path":2740,"stem":2741,"category":2521,"description":2742,"icon":2743},"CommitChangelog","\u002Fen\u002Fdocs\u002Fcomponents\u002Fcommit-changelog","en\u002Fdocs\u002F5.components\u002F6.commit-changelog","Use `:commit-changelog` to display GitHub commits for a component or file, grouped by release.","i-lucide-git-commit-horizontal",{"title":2745,"path":2746,"stem":2747,"category":2521,"description":2748,"icon":2749},"PageLastCommit","\u002Fen\u002Fdocs\u002Fcomponents\u002Fpage-last-commit","en\u002Fdocs\u002F5.components\u002F7.page-last-commit","Show the date, author, and message of the latest commit to a docs page's Markdown file.","i-lucide-history",{"title":2751,"category":2521,"description":2521,"icon":2752,"path":2753,"stem":2754,"children":2755,"page":2523},"Reference","i-lucide-book-marked","\u002Fen\u002Fdocs\u002Freference","en\u002Fdocs\u002F6.reference",[2756,2762,2768,2841],{"title":2757,"path":2758,"stem":2759,"category":2521,"description":2760,"icon":2761},"app.config Reference","\u002Fen\u002Fdocs\u002Freference\u002Fapp-config","en\u002Fdocs\u002F6.reference\u002F1.app-config","Look up app.config.ts fields, types, and defaults, with links to the relevant guides.","i-lucide-file-cog",{"title":2763,"path":2764,"stem":2765,"category":2521,"description":2766,"icon":2767},"nuxt.config Options","\u002Fen\u002Fdocs\u002Freference\u002Fnuxt-config","en\u002Fdocs\u002F6.reference\u002F2.nuxt-config","Look up the nuxt.config options and environment variables the layer reads at build time.","i-lucide-settings-2",{"title":2769,"category":2521,"description":2521,"icon":2770,"path":2771,"stem":2772,"children":2773,"page":2523},"Composables","i-lucide-square-function","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables","en\u002Fdocs\u002F6.reference\u002F3.composables",[2774,2779,2785,2791,2797,2803,2809,2814,2819,2824,2830,2836],{"title":2775,"path":2776,"stem":2777,"category":2521,"description":2778,"icon":2618},"useMovkI18n","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-movk-i18n","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F1.use-movk-i18n","Read the current locale, translate UI strings, generate localized links, and find the active content collection.",{"title":2780,"path":2781,"stem":2782,"category":2521,"description":2783,"icon":2784},"useLocaleSeo","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-locale-seo","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F10.use-locale-seo","Generate hreflang, x-default, and og:locale tags for localized pages.","i-lucide-globe",{"title":2786,"path":2787,"stem":2788,"category":2521,"description":2789,"icon":2790},"useFetchComponentMeta","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-fetch-component-meta","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F11.use-fetch-component-meta","Read prop, slot, and event types and descriptions when component docs are enabled.","i-lucide-braces",{"title":2792,"path":2793,"stem":2794,"category":2521,"description":2795,"icon":2796},"useFetchComponentExample","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-fetch-component-example","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F12.use-fetch-component-example","Read the source, file path, and name of a Vue example when component docs are enabled.","i-lucide-file-code",{"title":2798,"path":2799,"stem":2800,"category":2521,"description":2801,"icon":2802},"useDocsNavigation","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-docs-navigation","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F2.use-docs-navigation","Reuse the docs navigation tree loaded by the site shell in your own navigation components.","i-lucide-list-tree",{"title":2804,"path":2805,"stem":2806,"category":2521,"description":2807,"icon":2808},"useNavigation","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-navigation","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F3.use-navigation","Build section lists, grouped sidebars, and breadcrumbs from the docs navigation tree.","i-lucide-panel-left",{"title":1767,"path":2810,"stem":2811,"category":2521,"description":2812,"icon":2813},"\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-header","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F4.use-header","Read desktop and mobile header links or override the composable for dynamic navigation.","i-lucide-panel-top",{"title":1770,"path":2815,"stem":2816,"category":2521,"description":2817,"icon":2818},"\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-category","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F5.use-category","Read the category definitions that group and order pages in the sidebar.","i-lucide-folders",{"title":2820,"path":2821,"stem":2822,"category":2521,"description":2823,"icon":2592},"useTheme","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-theme","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F6.use-theme","Manage colors, radius, icons, and color mode, persist visitor preferences, and export theme settings.",{"title":2825,"path":2826,"stem":2827,"category":2521,"description":2828,"icon":2829},"useDocsRoute","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-docs-route","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F7.use-docs-route","Check whether the current route is a docs page, including routes with locale prefixes.","i-lucide-route",{"title":2831,"path":2832,"stem":2833,"category":2521,"description":2834,"icon":2835},"useDocsFilterConfig","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-docs-filter-config","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F8.use-docs-filter-config","Read sidebar filter settings, check visibility, and reuse the default filtering behavior.","i-lucide-list-filter",{"title":2837,"path":2838,"stem":2839,"category":2521,"description":2840,"icon":2732},"useDocsShell","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-docs-shell","en\u002Fdocs\u002F6.reference\u002F3.composables\u002F9.use-docs-shell","Load locale-specific navigation and search data, and set the document language and direction.",{"title":2842,"path":2843,"stem":2844,"category":2521,"description":2845,"icon":2846},"A–Z Index","\u002Fen\u002Fdocs\u002Freference\u002Fa-z","en\u002Fdocs\u002F6.reference\u002F9.a-z","Find docs by their English titles, grouped by first letter.","i-lucide-list-ordered",{"data":2848,"body":2849},{},{"type":6,"children":2850},[2851],{"type":9,"tag":10,"props":2852,"children":2853},{},[2854],{"type":14,"value":2855},"Copyright © 2024 - 2026",[2857,2858],{"title":2555,"path":2556,"stem":2557,"description":2558,"icon":2559,"children":-1},{"title":2569,"path":2570,"stem":2571,"description":2573,"icon":2574,"children":-1},1796367095139,"2ce86a3d-28e5-414a-a0bc-737c9421d4b3"]