[{"data":1,"prerenderedAt":1195,"buildId":1196},["ShallowReactive",2],{"-en-docs-reference-composables-use-movk-i18n-description":3,"docs--en-docs-reference-composables-use-movk-i18n":16,"docs-navigation-en":859,"mdc--tctnej-key":1183,"surround--en-docs-reference-composables-use-movk-i18n":1192},{"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","Read the current locale, translate UI strings, generate localized links, and find the active content collection.",{"id":17,"title":18,"body":19,"category":843,"description":15,"difficulty":843,"extension":844,"index":845,"keywords":843,"links":846,"meta":851,"navigation":852,"path":854,"requires":843,"seo":855,"sitemap":856,"stem":857,"__hash__":858},"docs_en\u002Fen\u002Fdocs\u002F6.reference\u002F3.composables\u002F1.use-movk-i18n.md","useMovkI18n",{"type":20,"value":21,"toc":834},"minimark",[22,33,38,239,243,332,336,557,575,579,625,629,632,792,803,807,822,826,830],[10,23,24,28,29,32],{},[25,26,27],"code",{},"useMovkI18n()"," hides the difference between the two i18n states. Pages, navigation, search and components in the layer all use it to pick the collection and path for the current locale. Custom components should do the same instead of calling ",[25,30,31],{},"useI18n()"," directly.",[34,35,37],"h2",{"id":36},"usage","Usage",[39,40,46],"pre",{"className":41,"code":42,"filename":43,"language":44,"meta":45,"style":45},"language-vue shiki shiki-themes github-light github-light github-dark","\u003Cscript setup lang=\"ts\">\nconst { t, localePath, docsRoot } = useMovkI18n()\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CNuxtLink :to=\"localePath('\u002Freleases')\">\n    {{ t('docs.overview') }}\n  \u003C\u002FNuxtLink>\n  \u003CNuxtLink :to=\"`${docsRoot}\u002Fgetting-started`\">\n    Docs\n  \u003C\u002FNuxtLink>\n\u003C\u002Ftemplate>\n","app\u002Fcomponents\u002FDocsLink.vue","vue","",[25,47,48,78,114,124,131,141,176,182,192,215,221,230],{"__ignoreMap":45},[49,50,53,57,61,65,68,71,75],"span",{"class":51,"line":52},"line",1,[49,54,56],{"class":55},"sxrX7","\u003C",[49,58,60],{"class":59},"sovSZ","script",[49,62,64],{"class":63},"snPdu"," setup",[49,66,67],{"class":63}," lang",[49,69,70],{"class":55},"=",[49,72,74],{"class":73},"sIIMD","\"ts\"",[49,76,77],{"class":55},">\n",[49,79,81,85,88,92,95,98,100,103,106,108,111],{"class":51,"line":80},2,[49,82,84],{"class":83},"s8jYJ","const",[49,86,87],{"class":55}," { ",[49,89,91],{"class":90},"sBjJW","t",[49,93,94],{"class":55},", ",[49,96,97],{"class":90},"localePath",[49,99,94],{"class":55},[49,101,102],{"class":90},"docsRoot",[49,104,105],{"class":55}," } ",[49,107,70],{"class":83},[49,109,110],{"class":63}," useMovkI18n",[49,112,113],{"class":55},"()\n",[49,115,117,120,122],{"class":51,"line":116},3,[49,118,119],{"class":55},"\u003C\u002F",[49,121,60],{"class":59},[49,123,77],{"class":55},[49,125,127],{"class":51,"line":126},4,[49,128,130],{"emptyLinePlaceholder":129},true,"\n",[49,132,134,136,139],{"class":51,"line":133},5,[49,135,56],{"class":55},[49,137,138],{"class":59},"template",[49,140,77],{"class":55},[49,142,144,147,150,153,156,158,161,163,166,169,172,174],{"class":51,"line":143},6,[49,145,146],{"class":55},"  \u003C",[49,148,149],{"class":59},"NuxtLink",[49,151,152],{"class":55}," :",[49,154,155],{"class":63},"to",[49,157,70],{"class":55},[49,159,160],{"class":73},"\"",[49,162,97],{"class":63},[49,164,165],{"class":55},"(",[49,167,168],{"class":73},"'\u002Freleases'",[49,170,171],{"class":55},")",[49,173,160],{"class":73},[49,175,77],{"class":55},[49,177,179],{"class":51,"line":178},7,[49,180,181],{"class":55},"    {{ t('docs.overview') }}\n",[49,183,185,188,190],{"class":51,"line":184},8,[49,186,187],{"class":55},"  \u003C\u002F",[49,189,149],{"class":59},[49,191,77],{"class":55},[49,193,195,197,199,201,203,205,208,210,213],{"class":51,"line":194},9,[49,196,146],{"class":55},[49,198,149],{"class":59},[49,200,152],{"class":55},[49,202,155],{"class":63},[49,204,70],{"class":55},[49,206,207],{"class":73},"\"`${",[49,209,102],{"class":55},[49,211,212],{"class":73},"}\u002Fgetting-started`\"",[49,214,77],{"class":55},[49,216,218],{"class":51,"line":217},10,[49,219,220],{"class":55},"    Docs\n",[49,222,224,226,228],{"class":51,"line":223},11,[49,225,187],{"class":55},[49,227,149],{"class":59},[49,229,77],{"class":55},[49,231,233,235,237],{"class":51,"line":232},12,[49,234,119],{"class":55},[49,236,138],{"class":59},[49,238,77],{"class":55},[34,240,242],{"id":241},"signature","Signature",[39,244,248],{"className":245,"code":246,"language":247,"meta":45,"style":45},"language-ts shiki shiki-themes github-light github-light github-dark","function useMovkI18n(): MovkI18n\n\ninterface MovkLocale {\n  code: string\n  name: string\n  language?: string\n  dir?: 'ltr' | 'rtl'\n}\n","ts",[25,249,250,266,270,281,292,301,311,327],{"__ignoreMap":45},[49,251,252,255,257,260,263],{"class":51,"line":52},[49,253,254],{"class":83},"function",[49,256,110],{"class":63},[49,258,259],{"class":55},"()",[49,261,262],{"class":83},":",[49,264,265],{"class":63}," MovkI18n\n",[49,267,268],{"class":51,"line":80},[49,269,130],{"emptyLinePlaceholder":129},[49,271,272,275,278],{"class":51,"line":116},[49,273,274],{"class":83},"interface",[49,276,277],{"class":63}," MovkLocale",[49,279,280],{"class":55}," {\n",[49,282,283,287,289],{"class":51,"line":126},[49,284,286],{"class":285},"sP4rz","  code",[49,288,262],{"class":83},[49,290,291],{"class":90}," string\n",[49,293,294,297,299],{"class":51,"line":133},[49,295,296],{"class":285},"  name",[49,298,262],{"class":83},[49,300,291],{"class":90},[49,302,303,306,309],{"class":51,"line":143},[49,304,305],{"class":285},"  language",[49,307,308],{"class":83},"?:",[49,310,291],{"class":90},[49,312,313,316,318,321,324],{"class":51,"line":178},[49,314,315],{"class":285},"  dir",[49,317,308],{"class":83},[49,319,320],{"class":73}," 'ltr'",[49,322,323],{"class":83}," |",[49,325,326],{"class":73}," 'rtl'\n",[49,328,329],{"class":51,"line":184},[49,330,331],{"class":55},"}\n",[34,333,335],{"id":334},"return-value","Return Value",[337,338,339,355],"table",{},[340,341,342],"thead",{},[343,344,345,349,352],"tr",{},[346,347,348],"th",{},"Name",[346,350,351],{},"Type",[346,353,354],{},"Description",[356,357,358,377,392,407,422,444,458,473,495,515,529,543],"tbody",{},[343,359,360,366,371],{},[361,362,363],"td",{},[25,364,365],{},"isEnabled",[361,367,368],{},[25,369,370],{},"boolean",[361,372,373,374],{},"Whether the site enables ",[25,375,376],{},"@nuxtjs\u002Fi18n",[343,378,379,384,389],{},[361,380,381],{},[25,382,383],{},"locale",[361,385,386],{},[25,387,388],{},"Ref\u003Cstring>",[361,390,391],{},"Current locale code",[343,393,394,399,404],{},[361,395,396],{},[25,397,398],{},"defaultLocale",[361,400,401],{},[25,402,403],{},"string",[361,405,406],{},"Default locale code",[343,408,409,414,419],{},[361,410,411],{},[25,412,413],{},"locales",[361,415,416],{},[25,417,418],{},"MovkLocale[]",[361,420,421],{},"Valid locales after build-time filtering; an empty array when i18n is disabled",[343,423,424,428,433],{},[361,425,426],{},[25,427,91],{},[361,429,430],{},[25,431,432],{},"(key: string, params?: Record\u003Cstring, string | number>) => string",[361,434,435,436,439,440,443],{},"Reads a built-in translation; ",[25,437,438],{},"{name}"," placeholders are replaced from ",[25,441,442],{},"params","; unknown keys are returned as-is",[343,445,446,450,455],{},[361,447,448],{},[25,449,97],{},[361,451,452],{},[25,453,454],{},"(path: string) => string",[361,456,457],{},"Adds the current locale prefix to an internal path; returns the path unchanged when i18n is disabled",[343,459,460,465,470],{},[361,461,462],{},[25,463,464],{},"switchLocalePath",[361,466,467],{},[25,468,469],{},"(code?: string) => string",[361,471,472],{},"Path of the current page in the target locale; an empty string when i18n is disabled",[343,474,475,479,484],{},[361,476,477],{},[25,478,102],{},[361,480,481],{},[25,482,483],{},"ComputedRef\u003Cstring>",[361,485,486,487,490,491,494],{},"Docs root for the current locale: ",[25,488,489],{},"\u002Fdocs"," for the default locale, ",[25,492,493],{},"\u002F{locale}\u002Fdocs"," otherwise",[343,496,497,502,506],{},[361,498,499],{},[25,500,501],{},"docsCollection",[361,503,504],{},[25,505,483],{},[361,507,508,509,490,512,494],{},"Docs collection name: ",[25,510,511],{},"docs",[25,513,514],{},"docs_{code}",[343,516,517,522,526],{},[361,518,519],{},[25,520,521],{},"landingCollection",[361,523,524],{},[25,525,483],{},[361,527,528],{},"Landing page collection name",[343,530,531,536,540],{},[361,532,533],{},[25,534,535],{},"releasesCollection",[361,537,538],{},[25,539,483],{},[361,541,542],{},"Releases page collection name",[343,544,545,550,554],{},[361,546,547],{},[25,548,549],{},"templatesCollection",[361,551,552],{},[25,553,483],{},[361,555,556],{},"Showcase page collection name",[10,558,559,562,563,566,567,570,571,574],{},[25,560,561],{},"-"," in collection names is replaced with ",[25,564,565],{},"_",", so ",[25,568,569],{},"zh-TW"," maps to ",[25,572,573],{},"docs_zh_TW",".",[34,576,578],{"id":577},"two-modes","Two Modes",[580,581,582,608],"ul",{},[583,584,585,591,592,94,594,94,596,598,599,601,602,604,605,574],"li",{},[586,587,588,590],"strong",{},[25,589,376],{}," enabled",": ",[25,593,383],{},[25,595,91],{},[25,597,97],{}," and ",[25,600,464],{}," delegate to Nuxt i18n, and ",[25,603,413],{}," comes from the layer-filtered ",[25,606,607],{},"runtimeConfig.public.movkDocs.filteredLocales",[583,609,610,613,614,617,618,621,622,624],{},[586,611,612],{},"Disabled",": the locale is fixed to ",[25,615,616],{},"appConfig.i18n.locale"," (default ",[25,619,620],{},"zh-CN","), ",[25,623,91],{}," reads that locale's built-in translations, and routes are not localized.",[34,626,628],{"id":627},"example","Example",[10,630,631],{},"Query the docs collection for the current locale:",[39,633,635],{"className":41,"code":634,"language":44,"meta":45,"style":45},"\u003Cscript setup lang=\"ts\">\nconst { locale, docsCollection } = useMovkI18n()\n\nconst { data: pages } = await useAsyncData(\n  () => `latest-pages-${locale.value}`,\n  () => queryCollection(docsCollection.value as 'docs').select('title', 'path').limit(5).all()\n)\n\u003C\u002Fscript>\n",[25,636,637,653,673,677,704,728,779,784],{"__ignoreMap":45},[49,638,639,641,643,645,647,649,651],{"class":51,"line":52},[49,640,56],{"class":55},[49,642,60],{"class":59},[49,644,64],{"class":63},[49,646,67],{"class":63},[49,648,70],{"class":55},[49,650,74],{"class":73},[49,652,77],{"class":55},[49,654,655,657,659,661,663,665,667,669,671],{"class":51,"line":80},[49,656,84],{"class":83},[49,658,87],{"class":55},[49,660,383],{"class":90},[49,662,94],{"class":55},[49,664,501],{"class":90},[49,666,105],{"class":55},[49,668,70],{"class":83},[49,670,110],{"class":63},[49,672,113],{"class":55},[49,674,675],{"class":51,"line":116},[49,676,130],{"emptyLinePlaceholder":129},[49,678,679,681,683,686,688,691,693,695,698,701],{"class":51,"line":126},[49,680,84],{"class":83},[49,682,87],{"class":55},[49,684,685],{"class":285},"data",[49,687,591],{"class":55},[49,689,690],{"class":90},"pages",[49,692,105],{"class":55},[49,694,70],{"class":83},[49,696,697],{"class":83}," await",[49,699,700],{"class":63}," useAsyncData",[49,702,703],{"class":55},"(\n",[49,705,706,709,712,715,717,719,722,725],{"class":51,"line":133},[49,707,708],{"class":55},"  () ",[49,710,711],{"class":83},"=>",[49,713,714],{"class":73}," `latest-pages-${",[49,716,383],{"class":55},[49,718,574],{"class":73},[49,720,721],{"class":55},"value",[49,723,724],{"class":73},"}`",[49,726,727],{"class":55},",\n",[49,729,730,732,734,737,740,743,746,749,752,754,757,759,762,764,767,769,772,774,777],{"class":51,"line":143},[49,731,708],{"class":55},[49,733,711],{"class":83},[49,735,736],{"class":63}," queryCollection",[49,738,739],{"class":55},"(docsCollection.value ",[49,741,742],{"class":83},"as",[49,744,745],{"class":73}," 'docs'",[49,747,748],{"class":55},").",[49,750,751],{"class":63},"select",[49,753,165],{"class":55},[49,755,756],{"class":73},"'title'",[49,758,94],{"class":55},[49,760,761],{"class":73},"'path'",[49,763,748],{"class":55},[49,765,766],{"class":63},"limit",[49,768,165],{"class":55},[49,770,771],{"class":90},"5",[49,773,748],{"class":55},[49,775,776],{"class":63},"all",[49,778,113],{"class":55},[49,780,781],{"class":51,"line":178},[49,782,783],{"class":55},")\n",[49,785,786,788,790],{"class":51,"line":184},[49,787,119],{"class":55},[49,789,60],{"class":59},[49,791,77],{"class":55},[793,794,795,796,798,799,802],"note",{},"Include ",[25,797,383],{}," in the ",[25,800,801],{},"useAsyncData"," key, otherwise switching languages reuses the cache of the previous locale.",[34,804,806],{"id":805},"related","Related",[580,808,809,816],{},[583,810,811],{},[812,813,815],"a",{"href":814},"\u002Fen\u002Fdocs\u002Fguide\u002Fi18n","Internationalization",[583,817,818],{},[812,819,821],{"href":820},"\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-locale-seo","useLocaleSeo",[34,823,825],{"id":824},"changelog","Changelog",[827,828],"commit-changelog",{"commit-path":829,"suffix":247},"layer\u002Fapp\u002Fcomposables",[831,832,833],"style",{},"html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sovSZ, html code.shiki .sovSZ{--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D}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 pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sP4rz, html code.shiki .sP4rz{--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70}",{"title":45,"searchDepth":80,"depth":80,"links":835},[836,837,838,839,840,841,842],{"id":36,"depth":80,"text":37},{"id":241,"depth":80,"text":242},{"id":334,"depth":80,"text":335},{"id":577,"depth":80,"text":578},{"id":627,"depth":80,"text":628},{"id":805,"depth":80,"text":806},{"id":824,"depth":80,"text":825},null,"md",false,[847],{"label":848,"icon":849,"to":850},"GitHub","i-simple-icons-github","https:\u002F\u002Fgithub.com\u002Fmhaibaraai\u002Fmovk-nuxt-docs\u002Fblob\u002Fmain\u002Flayer\u002Fapp\u002Fcomposables\u002FuseMovkI18n.ts",{},{"icon":853},"i-lucide-languages","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables\u002Fuse-movk-i18n",{"title":18,"description":15},{"loc":854},"en\u002Fdocs\u002F6.reference\u002F3.composables\u002F1.use-movk-i18n","hmYuG3mA0mmkfELHshaV-aHWBZbAJu2RxxxaXCt5Mm0",[860],{"title":861,"path":862,"stem":863,"children":864,"page":845},"Docs","\u002Fen\u002Fdocs","en\u002Fdocs",[865,893,965,1001,1042,1090],{"title":866,"path":867,"stem":868,"children":869,"category":843,"description":843,"icon":892},"Get Started","\u002Fen\u002Fdocs\u002Fgetting-started","en\u002Fdocs\u002F1.getting-started\u002F1.index",[870,874,880,886],{"title":871,"path":867,"stem":868,"category":843,"description":872,"icon":873},"Introduction","Build a Nuxt documentation site with built-in typography, navigation, search, SEO, and AI features.","i-lucide-book-open",{"title":875,"path":876,"stem":877,"category":843,"description":878,"icon":879},"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":881,"path":882,"stem":883,"category":843,"description":884,"icon":885},"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":887,"path":888,"stem":889,"category":843,"description":890,"icon":891},"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":894,"category":843,"description":843,"icon":895,"path":896,"stem":897,"children":898,"page":845},"Guide","i-lucide-compass","\u002Fen\u002Fdocs\u002Fguide","en\u002Fdocs\u002F2.guide",[899,906,913,919,925,931,937,944,950,953,959],{"title":900,"path":901,"stem":902,"category":903,"description":904,"icon":905},"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":907,"path":908,"stem":909,"category":910,"description":911,"icon":912},"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":914,"path":915,"stem":916,"category":910,"description":917,"icon":918},"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":920,"path":921,"stem":922,"category":903,"description":923,"icon":924},"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":926,"path":927,"stem":928,"category":903,"description":929,"icon":930},"Navigation & Categories","\u002Fen\u002Fdocs\u002Fguide\u002Fnavigation","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":932,"path":933,"stem":934,"category":903,"description":935,"icon":936},"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":938,"path":939,"stem":940,"category":941,"description":942,"icon":943},"Customization","\u002Fen\u002Fdocs\u002Fguide\u002Fcustomization","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":945,"path":946,"stem":947,"category":941,"description":948,"icon":949},"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":815,"path":814,"stem":951,"category":941,"description":952,"icon":853},"en\u002Fdocs\u002F2.guide\u002F7.i18n","Use @nuxtjs\u002Fi18n to organize translated docs, override UI strings, and generate hreflang links.",{"title":954,"path":955,"stem":956,"category":941,"description":957,"icon":958},"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":960,"path":961,"stem":962,"category":910,"description":963,"icon":964},"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":966,"category":843,"description":843,"icon":967,"path":968,"stem":969,"children":970,"page":845},"AI","i-lucide-sparkles","\u002Fen\u002Fdocs\u002Fai","en\u002Fdocs\u002F3.ai",[971,977,983,989,995],{"title":972,"path":973,"stem":974,"category":843,"description":975,"icon":976},"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":978,"path":979,"stem":980,"category":843,"description":981,"icon":982},"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":984,"path":985,"stem":986,"category":843,"description":987,"icon":988},"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":990,"path":991,"stem":992,"category":843,"description":993,"icon":994},"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":996,"path":997,"stem":998,"category":843,"description":999,"icon":1000},"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":1002,"category":843,"description":843,"icon":1003,"path":1004,"stem":1005,"children":1006,"page":845},"Writing","i-lucide-square-pilcrow","\u002Fen\u002Fdocs\u002Fwriting","en\u002Fdocs\u002F4.writing",[1007,1013,1019,1025,1030,1036],{"title":1008,"path":1009,"stem":1010,"category":843,"description":1011,"icon":1012},"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":1014,"path":1015,"stem":1016,"category":843,"description":1017,"icon":1018},"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":1020,"path":1021,"stem":1022,"category":843,"description":1023,"icon":1024},"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":1026,"path":1027,"stem":1028,"category":843,"description":1029,"icon":958},"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":1031,"path":1032,"stem":1033,"category":843,"description":1034,"icon":1035},"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":1037,"path":1038,"stem":1039,"category":843,"description":1040,"icon":1041},"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":1043,"category":843,"description":843,"icon":1044,"path":1045,"stem":1046,"children":1047,"page":845},"Components","i-lucide-component","\u002Fen\u002Fdocs\u002Fcomponents","en\u002Fdocs\u002F5.components",[1048,1054,1060,1066,1072,1078,1084],{"title":1049,"path":1050,"stem":1051,"category":843,"description":1052,"icon":1053},"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":1055,"path":1056,"stem":1057,"category":843,"description":1058,"icon":1059},"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":1061,"path":1062,"stem":1063,"category":843,"description":1064,"icon":1065},"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":1067,"path":1068,"stem":1069,"category":843,"description":1070,"icon":1071},"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":1073,"path":1074,"stem":1075,"category":843,"description":1076,"icon":1077},"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":1079,"path":1080,"stem":1081,"category":843,"description":1082,"icon":1083},"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":1085,"path":1086,"stem":1087,"category":843,"description":1088,"icon":1089},"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":1091,"category":843,"description":843,"icon":1092,"path":1093,"stem":1094,"children":1095,"page":845},"Reference","i-lucide-book-marked","\u002Fen\u002Fdocs\u002Freference","en\u002Fdocs\u002F6.reference",[1096,1102,1108,1177],{"title":1097,"path":1098,"stem":1099,"category":843,"description":1100,"icon":1101},"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":1103,"path":1104,"stem":1105,"category":843,"description":1106,"icon":1107},"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":1109,"category":843,"description":843,"icon":1110,"path":1111,"stem":1112,"children":1113,"page":845},"Composables","i-lucide-square-function","\u002Fen\u002Fdocs\u002Freference\u002Fcomposables","en\u002Fdocs\u002F6.reference\u002F3.composables",[1114,1115,1119,1125,1131,1137,1143,1149,1155,1160,1166,1172],{"title":18,"path":854,"stem":857,"category":843,"description":15,"icon":853},{"title":821,"path":820,"stem":1116,"category":843,"description":1117,"icon":1118},"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":1120,"path":1121,"stem":1122,"category":843,"description":1123,"icon":1124},"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":1126,"path":1127,"stem":1128,"category":843,"description":1129,"icon":1130},"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":1132,"path":1133,"stem":1134,"category":843,"description":1135,"icon":1136},"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":1138,"path":1139,"stem":1140,"category":843,"description":1141,"icon":1142},"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":1144,"path":1145,"stem":1146,"category":843,"description":1147,"icon":1148},"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":1150,"path":1151,"stem":1152,"category":843,"description":1153,"icon":1154},"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":1156,"path":1157,"stem":1158,"category":843,"description":1159,"icon":924},"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":1161,"path":1162,"stem":1163,"category":843,"description":1164,"icon":1165},"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":1167,"path":1168,"stem":1169,"category":843,"description":1170,"icon":1171},"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":1173,"path":1174,"stem":1175,"category":843,"description":1176,"icon":1071},"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":1178,"path":1179,"stem":1180,"category":843,"description":1181,"icon":1182},"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":1184,"body":1185},{},{"type":6,"children":1186},[1187],{"type":9,"tag":10,"props":1188,"children":1189},{},[1190],{"type":14,"value":1191},"Copyright © 2024 - 2026",[1193,1194],{"title":1103,"path":1104,"stem":1105,"description":1106,"icon":1107,"children":-1},{"title":821,"path":820,"stem":1116,"description":1117,"icon":1118,"children":-1},1796367097014,"2ce86a3d-28e5-414a-a0bc-737c9421d4b3"]