[{"data":1,"prerenderedAt":1406,"buildId":1407},["ShallowReactive",2],{"-en-docs-guide-i18n-description":3,"docs--en-docs-guide-i18n":16,"docs-navigation-en":1074,"mdc--tctnej-key":1394,"surround--en-docs-guide-i18n":1403},{"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","Use @nuxtjs\u002Fi18n to organize translated docs, override UI strings, and generate hreflang links.",{"id":17,"title":18,"body":19,"category":1062,"description":15,"difficulty":1063,"extension":1064,"index":1065,"keywords":1063,"links":1063,"meta":1066,"navigation":1067,"path":1069,"requires":1063,"seo":1070,"sitemap":1071,"stem":1072,"__hash__":1073},"docs_en\u002Fen\u002Fdocs\u002F2.guide\u002F7.i18n.md","Internationalization",{"type":20,"value":21,"toc":1043},"minimark",[22,27,30,75,86,90,99,157,170,174,181,186,251,257,266,385,416,435,439,450,457,461,471,593,612,616,622,646,653,656,666,692,745,755,759,782,796,862,873,887,891,903,907,914,936,957,966,1001,1005,1014,1039],[23,24,26],"h2",{"id":25},"two-modes","Two modes",[10,28,29],{},"Internationalization is opt-in:",[31,32,33,54],"ul",{},[34,35,36,40,41,45,46,49,50,53],"li",{},[37,38,39],"strong",{},"Single language"," (default): without ",[42,43,44],"code",{},"@nuxtjs\u002Fi18n",", URLs have no locale prefix and UI text comes from the built-in translations, in the language set by ",[42,47,48],{},"i18n.locale"," in ",[42,51,52],{},"app.config",".",[34,55,56,59,60,62,63,66,67,70,71,74],{},[37,57,58],{},"Multiple languages",": once ",[42,61,44],{}," is in ",[42,64,65],{},"modules"," and ",[42,68,69],{},"i18n.locales"," is configured in ",[42,72,73],{},"nuxt.config.ts",", the layer turns on localized routes, per-locale content collections, the language switcher and hreflang.",[10,76,77,78,85],{},"In both modes, components and pages read the current locale, translations and localized paths through ",[79,80,82],"a",{"href":81},"\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-movk-i18n",[42,83,84],{},"useMovkI18n()",", so callers never need to check whether i18n is enabled.",[23,87,89],{"id":88},"single-language-sites","Single-language sites",[10,91,92,93,49,95,98],{},"To switch only the UI language, set ",[42,94,48],{},[42,96,97],{},"app.config.ts",":",[100,101,107],"pre",{"className":102,"code":103,"filename":104,"language":105,"meta":106,"style":106},"language-ts shiki shiki-themes github-light github-light github-dark","export default defineAppConfig({\n  i18n: {\n    locale: 'en'\n  }\n})\n","app\u002Fapp.config.ts","ts","",[42,108,109,129,135,145,151],{"__ignoreMap":106},[110,111,114,118,121,125],"span",{"class":112,"line":113},"line",1,[110,115,117],{"class":116},"s8jYJ","export",[110,119,120],{"class":116}," default",[110,122,124],{"class":123},"snPdu"," defineAppConfig",[110,126,128],{"class":127},"sxrX7","({\n",[110,130,132],{"class":112,"line":131},2,[110,133,134],{"class":127},"  i18n: {\n",[110,136,138,141],{"class":112,"line":137},3,[110,139,140],{"class":127},"    locale: ",[110,142,144],{"class":143},"sIIMD","'en'\n",[110,146,148],{"class":112,"line":147},4,[110,149,150],{"class":127},"  }\n",[110,152,154],{"class":112,"line":153},5,[110,155,156],{"class":127},"})\n",[10,158,159,160,163,164,66,166,169],{},"The default is ",[42,161,162],{},"zh-CN",". Built-in translations currently cover ",[42,165,162],{},[42,167,168],{},"en",", and drive UI text such as the table of contents title, edit links, search and the AI assistant.",[23,171,173],{"id":172},"multilingual-sites","Multilingual sites",[175,176,178,179],"h3",{"id":177},"install-nuxtjsi18n","Install ",[42,180,44],{},[10,182,183,185],{},[42,184,44],{}," is an optional peer dependency of the layer, so install it in your project:",[187,188,190,208,223,237],"code-group",{"sync":189},"package-manager",[100,191,196],{"className":192,"code":193,"filename":194,"language":195,"meta":106,"style":106},"language-bash shiki shiki-themes github-light github-light github-dark","pnpm add @nuxtjs\u002Fi18n\n","pnpm","bash",[42,197,198],{"__ignoreMap":106},[110,199,200,202,205],{"class":112,"line":113},[110,201,194],{"class":123},[110,203,204],{"class":143}," add",[110,206,207],{"class":143}," @nuxtjs\u002Fi18n\n",[100,209,212],{"className":192,"code":210,"filename":211,"language":195,"meta":106,"style":106},"npm install @nuxtjs\u002Fi18n\n","npm",[42,213,214],{"__ignoreMap":106},[110,215,216,218,221],{"class":112,"line":113},[110,217,211],{"class":123},[110,219,220],{"class":143}," install",[110,222,207],{"class":143},[100,224,227],{"className":192,"code":225,"filename":226,"language":195,"meta":106,"style":106},"yarn add @nuxtjs\u002Fi18n\n","yarn",[42,228,229],{"__ignoreMap":106},[110,230,231,233,235],{"class":112,"line":113},[110,232,226],{"class":123},[110,234,204],{"class":143},[110,236,207],{"class":143},[100,238,241],{"className":192,"code":239,"filename":240,"language":195,"meta":106,"style":106},"bun add @nuxtjs\u002Fi18n\n","bun",[42,242,243],{"__ignoreMap":106},[110,244,245,247,249],{"class":112,"line":113},[110,246,240],{"class":123},[110,248,204],{"class":143},[110,250,207],{"class":143},[175,252,254,255],{"id":253},"configure-nuxtconfigts","Configure ",[42,256,73],{},[10,258,259,260,262,263,265],{},"Add ",[42,261,44],{}," to ",[42,264,65],{}," and declare the default locale and the locale list:",[100,267,269],{"className":102,"code":268,"filename":73,"language":105,"meta":106,"style":106},"export default defineNuxtConfig({\n  extends: ['@movk\u002Fnuxt-docs'],\n\n  modules: ['@nuxtjs\u002Fi18n'],\n\n  i18n: {\n    defaultLocale: 'zh-CN',\n    locales: [\n      { code: 'zh-CN', name: '简体中文' },\n      { code: 'en', name: 'English' }\n    ]\n  }\n})\n",[42,270,271,282,293,299,309,313,318,330,336,353,369,375,380],{"__ignoreMap":106},[110,272,273,275,277,280],{"class":112,"line":113},[110,274,117],{"class":116},[110,276,120],{"class":116},[110,278,279],{"class":123}," defineNuxtConfig",[110,281,128],{"class":127},[110,283,284,287,290],{"class":112,"line":131},[110,285,286],{"class":127},"  extends: [",[110,288,289],{"class":143},"'@movk\u002Fnuxt-docs'",[110,291,292],{"class":127},"],\n",[110,294,295],{"class":112,"line":137},[110,296,298],{"emptyLinePlaceholder":297},true,"\n",[110,300,301,304,307],{"class":112,"line":147},[110,302,303],{"class":127},"  modules: [",[110,305,306],{"class":143},"'@nuxtjs\u002Fi18n'",[110,308,292],{"class":127},[110,310,311],{"class":112,"line":153},[110,312,298],{"emptyLinePlaceholder":297},[110,314,316],{"class":112,"line":315},6,[110,317,134],{"class":127},[110,319,321,324,327],{"class":112,"line":320},7,[110,322,323],{"class":127},"    defaultLocale: ",[110,325,326],{"class":143},"'zh-CN'",[110,328,329],{"class":127},",\n",[110,331,333],{"class":112,"line":332},8,[110,334,335],{"class":127},"    locales: [\n",[110,337,339,342,344,347,350],{"class":112,"line":338},9,[110,340,341],{"class":127},"      { code: ",[110,343,326],{"class":143},[110,345,346],{"class":127},", name: ",[110,348,349],{"class":143},"'简体中文'",[110,351,352],{"class":127}," },\n",[110,354,356,358,361,363,366],{"class":112,"line":355},10,[110,357,341],{"class":127},[110,359,360],{"class":143},"'en'",[110,362,346],{"class":127},[110,364,365],{"class":143},"'English'",[110,367,368],{"class":127}," }\n",[110,370,372],{"class":112,"line":371},11,[110,373,374],{"class":127},"    ]\n",[110,376,378],{"class":112,"line":377},12,[110,379,150],{"class":127},[110,381,383],{"class":112,"line":382},13,[110,384,156],{"class":127},[10,386,387,388,66,390,49,393,396,397,400,401,404,405,409,410,412,413,415],{},"Only set ",[42,389,42],{},[42,391,392],{},"name",[42,394,395],{},"locales",", never ",[42,398,399],{},"file",". The layer merges the built-in translations with matching files in your site's ",[42,402,403],{},"i18n\u002Flocales\u002F"," and registers the result (see ",[79,406,408],{"href":407},"#site-translations","Site translations","); with ",[42,411,399],{}," declared, ",[42,414,44],{}," loads that file on its own and the build fails when it does not exist.",[10,417,418,419,422,423,426,427,430,431,434],{},"The layer pins the routing strategy to ",[42,420,421],{},"prefix_except_default",", so there is no need to set ",[42,424,425],{},"strategy",": the default locale has no prefix (",[42,428,429],{},"\u002Fdocs",") and the others do (",[42,432,433],{},"\u002Fen\u002Fdocs",").",[175,436,438],{"id":437},"organize-the-content-directory","Organize the content directory",[10,440,441,442,445,446,449],{},"Content for the default locale stays at the root of ",[42,443,444],{},"content\u002F",". Other locales live under ",[42,447,448],{},"content\u002F{code}\u002F"," with the same structure:",[100,451,455],{"className":452,"code":454,"language":14,"meta":106},[453],"language-text","content\u002F\n├── index.md              # default locale home → \u002F\n├── docs\u002F                 # default locale docs → \u002Fdocs\u002F*\n│   └── 1.getting-started\u002F\n│       └── 1.index.md\n├── releases.yml          # default locale releases page (optional)\n└── en\u002F\n    ├── index.md          # English home → \u002Fen\n    ├── docs\u002F             # English docs → \u002Fen\u002Fdocs\u002F*\n    │   └── 1.getting-started\u002F\n    │       └── 1.index.md\n    └── releases.yml      # English releases page (optional)\n",[42,456,454],{"__ignoreMap":106},[23,458,460],{"id":459},"content-collections","Content collections",[10,462,463,464,467,468,98],{},"The layer generates a set of Nuxt Content collections per locale. The default locale uses the base name; other locales get the locale code as a suffix, with ",[42,465,466],{},"-"," replaced by ",[42,469,470],{},"_",[472,473,474,500],"table",{},[475,476,477],"thead",{},[478,479,480,484,487,497],"tr",{},[481,482,483],"th",{},"Content",[481,485,486],{},"Default locale",[481,488,489,490,492,493,496],{},"Other locales (e.g. ",[42,491,168],{},", ",[42,494,495],{},"zh-TW",")",[481,498,499],{},"Source",[501,502,503,530,553,573],"tbody",{},[478,504,505,509,514,522],{},[506,507,508],"td",{},"Docs",[506,510,511],{},[42,512,513],{},"docs",[506,515,516,492,519],{},[42,517,518],{},"docs_en",[42,520,521],{},"docs_zh_TW",[506,523,524,492,527],{},[42,525,526],{},"content\u002Fdocs\u002F**",[42,528,529],{},"content\u002F{code}\u002Fdocs\u002F**",[478,531,532,535,540,545],{},[506,533,534],{},"Home",[506,536,537],{},[42,538,539],{},"landing",[506,541,542],{},[42,543,544],{},"landing_en",[506,546,547,492,550],{},[42,548,549],{},"content\u002Findex.md",[42,551,552],{},"content\u002F{code}\u002Findex.md",[478,554,555,558,563,568],{},[506,556,557],{},"Releases",[506,559,560],{},[42,561,562],{},"releases",[506,564,565],{},[42,566,567],{},"releases_en",[506,569,570],{},[42,571,572],{},"content\u002Freleases.{md,yml}",[478,574,575,578,583,588],{},[506,576,577],{},"Showcase",[506,579,580],{},[42,581,582],{},"templates",[506,584,585],{},[42,586,587],{},"templates_en",[506,589,590],{},[42,591,592],{},"content\u002Ftemplates.{md,yml}",[10,594,595,596,598,599,601,602,492,605,608,609,611],{},"When a locale has no ",[42,597,562],{}," or ",[42,600,582],{}," file, that route returns 404 for that locale only. In custom pages, use ",[42,603,604],{},"docsCollection",[42,606,607],{},"landingCollection"," and friends from ",[42,610,84],{}," to get the collection name for the current locale.",[23,613,615],{"id":614},"when-a-locale-is-valid","When a locale is valid",[10,617,618,619,621],{},"At build time the layer checks every entry in ",[42,620,69],{},". A locale is used only when both conditions hold; otherwise it is skipped with a warning in the terminal:",[623,624,625,637],"ol",{},[34,626,627,628,66,630,632,633,636],{},"A translation file exists for it: the layer ships ",[42,629,162],{},[42,631,168],{},", and your site provides ",[42,634,635],{},"i18n\u002Flocales\u002F{code}.json"," for any other locale;",[34,638,639,640,642,643,645],{},"The content directory ",[42,641,448],{}," exists. The default locale lives at the root of ",[42,644,444],{}," and is not checked.",[100,647,651],{"className":648,"code":649,"filename":650,"language":14,"meta":106},[453],"[movk-docs] 缺少内容目录 content\u002Fja\u002F，已跳过 locale \"ja\"\n","terminal",[42,652,649],{"__ignoreMap":106},[175,654,408],{"id":655},"site-translations",[10,657,658,659,662,663,665],{},"Put ",[42,660,661],{},"{code}.json"," files in ",[42,664,403],{}," at your site root. At build time they are merged with the layer's built-in translations, with your values taking precedence:",[31,667,668,678],{},[34,669,670,673,674,677],{},[37,671,672],{},"Add a locale",": for example ",[42,675,676],{},"i18n\u002Flocales\u002Fja.json",". Translate only the keys you need; missing keys fall back to the built-in English text.",[34,679,680,683,684,687,688,691],{},[37,681,682],{},"Override built-in text",": for example an ",[42,685,686],{},"i18n\u002Flocales\u002Fen.json"," containing only ",[42,689,690],{},"{ \"docs\": { \"tocTitle\": \"Contents\" } }"," keeps every other key at its built-in value.",[100,693,697],{"className":694,"code":695,"filename":676,"language":696,"meta":106,"style":106},"language-json shiki shiki-themes github-light github-light github-dark","{\n  \"docs\": {\n    \"tocTitle\": \"目次\",\n    \"copyPage\": \"ページをコピー\"\n  }\n}\n","json",[42,698,699,704,713,726,736,740],{"__ignoreMap":106},[110,700,701],{"class":112,"line":113},[110,702,703],{"class":127},"{\n",[110,705,706,710],{"class":112,"line":131},[110,707,709],{"class":708},"sBjJW","  \"docs\"",[110,711,712],{"class":127},": {\n",[110,714,715,718,721,724],{"class":112,"line":137},[110,716,717],{"class":708},"    \"tocTitle\"",[110,719,720],{"class":127},": ",[110,722,723],{"class":143},"\"目次\"",[110,725,329],{"class":127},[110,727,728,731,733],{"class":112,"line":147},[110,729,730],{"class":708},"    \"copyPage\"",[110,732,720],{"class":127},[110,734,735],{"class":143},"\"ページをコピー\"\n",[110,737,738],{"class":112,"line":153},[110,739,150],{"class":127},[110,741,742],{"class":112,"line":315},[110,743,744],{"class":127},"}\n",[10,746,747,748,754],{},"See the layer's ",[79,749,753],{"href":750,"rel":751},"https:\u002F\u002Fgithub.com\u002Fmhaibaraai\u002Fmovk-nuxt-docs\u002Fblob\u002Fmain\u002Flayer\u002Fi18n\u002Flocales\u002Fen.json",[752],"nofollow","built-in translation file"," for the available keys. Restart the dev server after changing site translations.",[23,756,758],{"id":757},"ui-text","UI text",[10,760,761,762,768,769,771,772,492,775,66,778,781],{},"UI text resolves as ",[37,763,764,765,767],{},"the value in ",[42,766,52],{}," ?? the built-in translation for the current locale",". Text fields in ",[42,770,52],{}," (such as ",[42,773,774],{},"toc.title",[42,776,777],{},"aside.filter.placeholder",[42,779,780],{},"aiChat.texts.*",") are empty by default so the translations apply; once set, that value is used in every locale.",[10,783,784,785,66,788,791,792,98],{},"For navigation text that differs per locale, write ",[42,786,787],{},"header.nav",[42,789,790],{},"docs.categories"," labels as objects keyed by locale code. See ",[79,793,795],{"href":794},"\u002Fen\u002Fdocs\u002Fguide\u002Fnavigation","Navigation & Categories",[100,797,799],{"className":102,"code":798,"filename":104,"language":105,"meta":106,"style":106},"export default defineAppConfig({\n  header: {\n    nav: [\n      { label: { 'zh-CN': '文档', 'en': 'Docs' }, to: '\u002Fdocs\u002Fgetting-started' }\n    ]\n  }\n})\n",[42,800,801,811,816,821,850,854,858],{"__ignoreMap":106},[110,802,803,805,807,809],{"class":112,"line":113},[110,804,117],{"class":116},[110,806,120],{"class":116},[110,808,124],{"class":123},[110,810,128],{"class":127},[110,812,813],{"class":112,"line":131},[110,814,815],{"class":127},"  header: {\n",[110,817,818],{"class":112,"line":137},[110,819,820],{"class":127},"    nav: [\n",[110,822,823,826,828,830,833,835,837,839,842,845,848],{"class":112,"line":147},[110,824,825],{"class":127},"      { label: { ",[110,827,326],{"class":143},[110,829,720],{"class":127},[110,831,832],{"class":143},"'文档'",[110,834,492],{"class":127},[110,836,360],{"class":143},[110,838,720],{"class":127},[110,840,841],{"class":143},"'Docs'",[110,843,844],{"class":127}," }, to: ",[110,846,847],{"class":143},"'\u002Fdocs\u002Fgetting-started'",[110,849,368],{"class":127},[110,851,852],{"class":112,"line":153},[110,853,374],{"class":127},[110,855,856],{"class":112,"line":315},[110,857,150],{"class":127},[110,859,860],{"class":112,"line":320},[110,861,156],{"class":127},[10,863,864,865,868,869,872],{},"Internal links get the current locale prefix automatically, so ",[42,866,867],{},"\u002Fdocs\u002Fgetting-started"," points to ",[42,870,871],{},"\u002Fen\u002Fdocs\u002Fgetting-started"," in English.",[10,874,875,876,878,879,882,883,886],{},"In your own components, the layer enables typed messages in ",[42,877,44],{}," when i18n is on, so ",[42,880,881],{},"useI18n().t"," completes every built-in and custom key. ",[42,884,885],{},"useMovkI18n().t"," works in both modes but has no key types.",[23,888,890],{"id":889},"language-switcher","Language switcher",[10,892,893,894,897,898,902],{},"When i18n is enabled with at least two valid locales, a language switcher (",[42,895,896],{},"LanguageSwitcher",") appears on the right of the header. It lists every valid locale and navigates to the same page in the target locale. It is part of the ",[79,899,901],{"href":900},"\u002Fen\u002Fdocs\u002Fguide\u002Fcustomization","override contract",", so a component with the same name replaces it.",[23,904,906],{"id":905},"multilingual-seo","Multilingual SEO",[10,908,909,910,913],{},"With at least two valid locales, ",[42,911,912],{},"useLocaleSeo()"," adds to every page:",[31,915,916,927],{},[34,917,918,919,922,923,926],{},"a ",[42,920,921],{},"\u003Clink rel=\"alternate\" hreflang=\"…\">"," for each locale, plus an ",[42,924,925],{},"x-default"," pointing to the first locale;",[34,928,929,932,933,434],{},[42,930,931],{},"og:locale"," for the current locale (for example ",[42,934,935],{},"zh_CN",[10,937,938,66,941,944,945,948,949,952,953,956],{},[42,939,940],{},"\u003Chtml lang>",[42,942,943],{},"dir"," are set by ",[42,946,947],{},"@nuxt\u002Fui","'s locale for the current language. ",[42,950,951],{},"@nuxtjs\u002Fsitemap"," splits the sitemap per locale, with ",[42,954,955],{},"\u002Fsitemap_index.xml"," as the entry.",[10,958,959,960,49,963,965],{},"Browser language redirection on the first visit is controlled by ",[42,961,962],{},"detectBrowserLanguage",[42,964,44],{},". Turn it off to keep the home page in a fixed language:",[100,967,969],{"className":102,"code":968,"filename":73,"language":105,"meta":106,"style":106},"export default defineNuxtConfig({\n  i18n: {\n    detectBrowserLanguage: false\n  }\n})\n",[42,970,971,981,985,993,997],{"__ignoreMap":106},[110,972,973,975,977,979],{"class":112,"line":113},[110,974,117],{"class":116},[110,976,120],{"class":116},[110,978,279],{"class":123},[110,980,128],{"class":127},[110,982,983],{"class":112,"line":131},[110,984,134],{"class":127},[110,986,987,990],{"class":112,"line":137},[110,988,989],{"class":127},"    detectBrowserLanguage: ",[110,991,992],{"class":708},"false\n",[110,994,995],{"class":112,"line":147},[110,996,150],{"class":127},[110,998,999],{"class":112,"line":153},[110,1000,156],{"class":127},[23,1002,1004],{"id":1003},"i18n-template","i18n template",[10,1006,1007,1008,1010,1011,1013],{},"To start a bilingual site right away, use the i18n template. It comes with ",[42,1009,162],{}," (default) and ",[42,1012,168],{},", the matching content directories and configuration:",[100,1015,1017],{"className":192,"code":1016,"filename":650,"language":195,"meta":106,"style":106},"npx nuxi init -t gh:mhaibaraai\u002Fmovk-nuxt-docs\u002Ftemplates\u002Fi18n my-docs\n",[42,1018,1019],{"__ignoreMap":106},[110,1020,1021,1024,1027,1030,1033,1036],{"class":112,"line":113},[110,1022,1023],{"class":123},"npx",[110,1025,1026],{"class":143}," nuxi",[110,1028,1029],{"class":143}," init",[110,1031,1032],{"class":708}," -t",[110,1034,1035],{"class":143}," gh:mhaibaraai\u002Fmovk-nuxt-docs\u002Ftemplates\u002Fi18n",[110,1037,1038],{"class":143}," my-docs\n",[1040,1041,1042],"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 .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 .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}",{"title":106,"searchDepth":131,"depth":131,"links":1044},[1045,1046,1047,1054,1055,1058,1059,1060,1061],{"id":25,"depth":131,"text":26},{"id":88,"depth":131,"text":89},{"id":172,"depth":131,"text":173,"children":1048},[1049,1051,1053],{"id":177,"depth":137,"text":1050},"Install @nuxtjs\u002Fi18n",{"id":253,"depth":137,"text":1052},"Configure nuxt.config.ts",{"id":437,"depth":137,"text":438},{"id":459,"depth":131,"text":460},{"id":614,"depth":131,"text":615,"children":1056},[1057],{"id":655,"depth":137,"text":408},{"id":757,"depth":131,"text":758},{"id":889,"depth":131,"text":890},{"id":905,"depth":131,"text":906},{"id":1003,"depth":131,"text":1004},"customization",null,"md",false,{},{"icon":1068},"i-lucide-languages","\u002Fen\u002Fdocs\u002Fguide\u002Fi18n",{"title":18,"description":15},{"loc":1069},"en\u002Fdocs\u002F2.guide\u002F7.i18n","HnBqceV_cToxHUd6yMs5x9MZBVYtW_wuPojcJ_IyfZE",[1075],{"title":508,"path":433,"stem":1076,"children":1077,"page":1065},"en\u002Fdocs",[1078,1105,1171,1207,1248,1296],{"title":1079,"path":871,"stem":1080,"children":1081,"category":1063,"description":1063,"icon":1104},"Get Started","en\u002Fdocs\u002F1.getting-started\u002F1.index",[1082,1086,1092,1098],{"title":1083,"path":871,"stem":1080,"category":1063,"description":1084,"icon":1085},"Introduction","Build a Nuxt documentation site with built-in typography, navigation, search, SEO, and AI features.","i-lucide-book-open",{"title":1087,"path":1088,"stem":1089,"category":1063,"description":1090,"icon":1091},"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":1093,"path":1094,"stem":1095,"category":1063,"description":1096,"icon":1097},"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":1099,"path":1100,"stem":1101,"category":1063,"description":1102,"icon":1103},"Migrating from v2","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fmigration","en\u002Fdocs\u002F1.getting-started\u002F4.migration","Upgrade from v2 to v3 with side-by-side examples for dependencies, content, configuration, and component overrides.","i-lucide-arrow-right-left","i-lucide-square-play",{"title":1106,"category":1063,"description":1063,"icon":1107,"path":1108,"stem":1109,"children":1110,"page":1065},"Guide","i-lucide-compass","\u002Fen\u002Fdocs\u002Fguide","en\u002Fdocs\u002F2.guide",[1111,1118,1125,1131,1137,1141,1147,1152,1158,1159,1165],{"title":1112,"path":1113,"stem":1114,"category":1115,"description":1116,"icon":1117},"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":1119,"path":1120,"stem":1121,"category":1122,"description":1123,"icon":1124},"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":1126,"path":1127,"stem":1128,"category":1122,"description":1129,"icon":1130},"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":1132,"path":1133,"stem":1134,"category":1115,"description":1135,"icon":1136},"Theme & Fonts","\u002Fen\u002Fdocs\u002Fguide\u002Ftheme","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":795,"path":794,"stem":1138,"category":1115,"description":1139,"icon":1140},"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":1142,"path":1143,"stem":1144,"category":1115,"description":1145,"icon":1146},"Feature Flags","\u002Fen\u002Fdocs\u002Fguide\u002Ffeatures","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":1148,"path":900,"stem":1149,"category":1062,"description":1150,"icon":1151},"Customization","en\u002Fdocs\u002F2.guide\u002F5.customization","Override the header, sidebars, and footer with same-named Vue components. See supported overrides and examples.","i-lucide-paintbrush",{"title":1153,"path":1154,"stem":1155,"category":1062,"description":1156,"icon":1157},"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":18,"path":1069,"stem":1072,"category":1062,"description":15,"icon":1068},{"title":1160,"path":1161,"stem":1162,"category":1062,"description":1163,"icon":1164},"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":1166,"path":1167,"stem":1168,"category":1122,"description":1169,"icon":1170},"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":1172,"category":1063,"description":1063,"icon":1173,"path":1174,"stem":1175,"children":1176,"page":1065},"AI","i-lucide-sparkles","\u002Fen\u002Fdocs\u002Fai","en\u002Fdocs\u002F3.ai",[1177,1183,1189,1195,1201],{"title":1178,"path":1179,"stem":1180,"category":1063,"description":1181,"icon":1182},"AI Chat","\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":1184,"path":1185,"stem":1186,"category":1063,"description":1187,"icon":1188},"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":1190,"path":1191,"stem":1192,"category":1063,"description":1193,"icon":1194},"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":1196,"path":1197,"stem":1198,"category":1063,"description":1199,"icon":1200},"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":1202,"path":1203,"stem":1204,"category":1063,"description":1205,"icon":1206},"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":1208,"category":1063,"description":1063,"icon":1209,"path":1210,"stem":1211,"children":1212,"page":1065},"Writing","i-lucide-square-pilcrow","\u002Fen\u002Fdocs\u002Fwriting","en\u002Fdocs\u002F4.writing",[1213,1219,1225,1231,1236,1242],{"title":1214,"path":1215,"stem":1216,"category":1063,"description":1217,"icon":1218},"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":1220,"path":1221,"stem":1222,"category":1063,"description":1223,"icon":1224},"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":1226,"path":1227,"stem":1228,"category":1063,"description":1229,"icon":1230},"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":1232,"path":1233,"stem":1234,"category":1063,"description":1235,"icon":1164},"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":1237,"path":1238,"stem":1239,"category":1063,"description":1240,"icon":1241},"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":1243,"path":1244,"stem":1245,"category":1063,"description":1246,"icon":1247},"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":1249,"category":1063,"description":1063,"icon":1250,"path":1251,"stem":1252,"children":1253,"page":1065},"Components","i-lucide-component","\u002Fen\u002Fdocs\u002Fcomponents","en\u002Fdocs\u002F5.components",[1254,1260,1266,1272,1278,1284,1290],{"title":1255,"path":1256,"stem":1257,"category":1063,"description":1258,"icon":1259},"ComponentProps","\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":1261,"path":1262,"stem":1263,"category":1063,"description":1264,"icon":1265},"ComponentSlots","\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":1267,"path":1268,"stem":1269,"category":1063,"description":1270,"icon":1271},"ComponentEmits","\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":1273,"path":1274,"stem":1275,"category":1063,"description":1276,"icon":1277},"ComponentExample","\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":1279,"path":1280,"stem":1281,"category":1063,"description":1282,"icon":1283},"ComponentCode","\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":1285,"path":1286,"stem":1287,"category":1063,"description":1288,"icon":1289},"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":1291,"path":1292,"stem":1293,"category":1063,"description":1294,"icon":1295},"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":1297,"category":1063,"description":1063,"icon":1298,"path":1299,"stem":1300,"children":1301,"page":1065},"Reference","i-lucide-book-marked","\u002Fen\u002Fdocs\u002Freference","en\u002Fdocs\u002F6.reference",[1302,1308,1314,1388],{"title":1303,"path":1304,"stem":1305,"category":1063,"description":1306,"icon":1307},"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":1309,"path":1310,"stem":1311,"category":1063,"description":1312,"icon":1313},"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":1315,"category":1063,"description":1063,"icon":1316,"path":1317,"stem":1318,"children":1319,"page":1065},"Composables","i-lucide-square-function","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables","en\u002Fdocs\u002F6.reference\u002F3.composables",[1320,1324,1330,1336,1342,1348,1354,1360,1366,1371,1377,1383],{"title":1321,"path":81,"stem":1322,"category":1063,"description":1323,"icon":1068},"useMovkI18n","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":1325,"path":1326,"stem":1327,"category":1063,"description":1328,"icon":1329},"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":1331,"path":1332,"stem":1333,"category":1063,"description":1334,"icon":1335},"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":1337,"path":1338,"stem":1339,"category":1063,"description":1340,"icon":1341},"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":1343,"path":1344,"stem":1345,"category":1063,"description":1346,"icon":1347},"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":1349,"path":1350,"stem":1351,"category":1063,"description":1352,"icon":1353},"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":1355,"path":1356,"stem":1357,"category":1063,"description":1358,"icon":1359},"useHeader","\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":1361,"path":1362,"stem":1363,"category":1063,"description":1364,"icon":1365},"useCategory","\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":1367,"path":1368,"stem":1369,"category":1063,"description":1370,"icon":1136},"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":1372,"path":1373,"stem":1374,"category":1063,"description":1375,"icon":1376},"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":1378,"path":1379,"stem":1380,"category":1063,"description":1381,"icon":1382},"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":1384,"path":1385,"stem":1386,"category":1063,"description":1387,"icon":1277},"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":1389,"path":1390,"stem":1391,"category":1063,"description":1392,"icon":1393},"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":1395,"body":1396},{},{"type":6,"children":1397},[1398],{"type":9,"tag":10,"props":1399,"children":1400},{},[1401],{"type":14,"value":1402},"Copyright © 2024 - 2026",[1404,1405],{"title":1153,"path":1154,"stem":1155,"description":1156,"icon":1157,"children":-1},{"title":1160,"path":1161,"stem":1162,"description":1163,"icon":1164,"children":-1},1796367095600,"2ce86a3d-28e5-414a-a0bc-737c9421d4b3"]