[{"data":1,"prerenderedAt":2171},["ShallowReactive",2],{"navigation":3,"docs-/get-started/from-v1":164,"docs-/get-started/from-v1-surround":1556},[4,20,45,67,92,102,115],{"title":5,"_path":6,"children":7},"Get Started","/get-started",[8,11,14,17],{"title":9,"_path":10},"Installation","/get-started/installation",{"title":12,"_path":13},"Configuration","/get-started/configuration",{"title":15,"_path":16},"Edge Channel","/get-started/edge-channel",{"title":18,"_path":19},"Migration","/get-started/from-v1",{"title":21,"_path":22,"children":23},"Usage","/usage",[24,27,30,33,36,39,42],{"title":25,"_path":26},"Content Directory","/usage/content-directory",{"title":28,"_path":29},"Markdown","/usage/markdown",{"title":31,"_path":32},"JSON, YAML, CSV","/usage/files",{"title":34,"_path":35},"Render Content","/usage/render",{"title":37,"_path":38},"Search","/usage/search",{"title":40,"_path":41},"Fetch Navigation","/usage/navigation",{"title":43,"_path":44},"TypeScript Support","/usage/typescript",{"title":46,"_path":47,"children":48},"Composables","/composables",[49,52,55,58,61,64],{"title":50,"_path":51},"queryContent()","/composables/query-content",{"title":53,"_path":54},"fetchContentNavigation()","/composables/fetch-content-navigation",{"title":56,"_path":57},"useContentHead()","/composables/use-content-head",{"title":59,"_path":60},"useContentHelpers()","/composables/use-content-helpers",{"title":62,"_path":63},"useUnwrap()","/composables/use-unwrap",{"title":65,"_path":66},"searchContent()","/composables/search-content",{"title":68,"_path":69,"children":70},"Components","/components",[71,74,77,80,83,86,89],{"title":72,"_path":73},"\u003CContentDoc>","/components/content-doc",{"title":75,"_path":76},"\u003CContentRenderer>","/components/content-renderer",{"title":78,"_path":79},"\u003CContentList>","/components/content-list",{"title":81,"_path":82},"\u003CContentNavigation>","/components/content-navigation",{"title":84,"_path":85},"\u003CContentQuery>","/components/content-query",{"title":87,"_path":88},"\u003CContentSlot>","/components/content-slot",{"title":90,"_path":91},"Prose Components","/components/prose",{"title":93,"_path":94,"children":95},"Document Driven","/document-driven",[96,99],{"title":97,"_path":98},"Introduction","/document-driven/introduction",{"title":100,"_path":101},"useContent()","/document-driven/use-content",{"title":103,"_path":104,"children":105},"Recipes","/recipes",[106,109,112],{"title":107,"_path":108},"Hooks","/recipes/hooks",{"title":110,"_path":111},"Transformers","/recipes/transformers",{"title":113,"_path":114},"Sitemap","/recipes/sitemap",{"title":116,"_path":117,"children":118},"V1","/v1",[119,141,154],{"title":120,"_path":121,"children":122},"Getting Started","/v1/getting-started",[123,125,127,130,133,136,138],{"title":97,"_path":124},"/v1/getting-started/introduction",{"title":9,"_path":126},"/v1/getting-started/installation",{"title":128,"_path":129},"Writing content","/v1/getting-started/writing",{"title":131,"_path":132},"Fetching content","/v1/getting-started/fetching",{"title":134,"_path":135},"Displaying content","/v1/getting-started/displaying",{"title":12,"_path":137},"/v1/getting-started/configuration",{"title":139,"_path":140},"Advanced","/v1/getting-started/advanced",{"title":142,"_path":143,"children":144},"Examples","/v1/examples",[145,148,151],{"title":146,"_path":147},"Basic Usage","/v1/examples/basic",{"title":149,"_path":150},"TailwindCSS","/v1/examples/tailwindcss-typography",{"title":152,"_path":153},"Docs Theme","/v1/examples/docs-theme",{"title":155,"_path":156,"children":157},"Community","/v1/community",[158,161],{"title":159,"_path":160},"Snippets","/v1/community/snippets",{"title":162,"_path":163},"Integrations","/v1/community/integrations",{"_path":19,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":18,"description":168,"body":169,"_type":1550,"_id":1551,"_source":1552,"_file":1553,"_stem":1554,"_extension":1555},"get-started",false,"","Learn how to upgrade from Nuxt Content V1 to Nuxt Content V2 with Nuxt 3.",{"type":170,"children":171,"toc":1541},"root",[172,181,187,193,251,294,303,334,342,365,371,385,416,422,443,474,491,774,780,798,808,1101,1121,1174,1193,1199,1514,1520,1535],{"type":173,"tag":174,"props":175,"children":177},"element","h2",{"id":176},"content-v1-documentation",[178],{"type":179,"value":180},"text","Content V1 Documentation",{"type":173,"tag":182,"props":183,"children":184},"u-button",{"to":124},[185],{"type":179,"value":186},"Read V1 Documentation",{"type":173,"tag":174,"props":188,"children":190},{"id":189},"how-to-migrate",[191],{"type":179,"value":192},"How to Migrate",{"type":173,"tag":194,"props":195,"children":196},"ol",{},[197,236],{"type":173,"tag":198,"props":199,"children":200},"li",{},[201,203,210,212,218,220,226,228,234],{"type":179,"value":202},"Make sure your dev server (",{"type":173,"tag":204,"props":205,"children":207},"code",{"className":206},[],[208],{"type":179,"value":209},"nuxt dev",{"type":179,"value":211},") isn't running and remove any package lock files (",{"type":173,"tag":204,"props":213,"children":215},{"className":214},[],[216],{"type":179,"value":217},"package-lock.json",{"type":179,"value":219},", ",{"type":173,"tag":204,"props":221,"children":223},{"className":222},[],[224],{"type":179,"value":225},"yarn.lock",{"type":179,"value":227},", or ",{"type":173,"tag":204,"props":229,"children":231},{"className":230},[],[232],{"type":179,"value":233},"pnpm-lock.yaml",{"type":179,"value":235},")",{"type":173,"tag":198,"props":237,"children":238},{},[239,241,250],{"type":179,"value":240},"Upgrade to Nuxt 3 (check out the ",{"type":173,"tag":242,"props":243,"children":247},"a",{"href":244,"rel":245},"https://nuxt.com/docs/getting-started/upgrade",[246],"nofollow",[248],{"type":179,"value":249},"Nuxt 3 migration guide",{"type":179,"value":235},{"type":173,"tag":252,"props":253,"children":257},"pre",{"className":254,"code":255,"language":256,"meta":167,"style":167},"language-diff shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","- \"nuxt\": \"latest\"\n+ \"nuxt\": \"^3.0.0\"\n","diff",[258],{"type":173,"tag":204,"props":259,"children":260},{"__ignoreMap":167},[261,279],{"type":173,"tag":262,"props":263,"children":266},"span",{"class":264,"line":265},"line",1,[267,273],{"type":173,"tag":262,"props":268,"children":270},{"style":269},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[271],{"type":179,"value":272},"-",{"type":173,"tag":262,"props":274,"children":276},{"style":275},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[277],{"type":179,"value":278}," \"nuxt\": \"latest\"\n",{"type":173,"tag":262,"props":280,"children":282},{"class":264,"line":281},2,[283,288],{"type":173,"tag":262,"props":284,"children":285},{"style":269},[286],{"type":179,"value":287},"+",{"type":173,"tag":262,"props":289,"children":291},{"style":290},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[292],{"type":179,"value":293}," \"nuxt\": \"^3.0.0\"\n",{"type":173,"tag":194,"props":295,"children":297},{"start":296},3,[298],{"type":173,"tag":198,"props":299,"children":300},{},[301],{"type":179,"value":302},"Upgrade Content module",{"type":173,"tag":252,"props":304,"children":306},{"className":254,"code":305,"language":256,"meta":167,"style":167},"- \"@nuxt/content\": \"^1.15.1\"\n+ \"@nuxt/content\": \"^2.0.0\"\n",[307],{"type":173,"tag":204,"props":308,"children":309},{"__ignoreMap":167},[310,322],{"type":173,"tag":262,"props":311,"children":312},{"class":264,"line":265},[313,317],{"type":173,"tag":262,"props":314,"children":315},{"style":269},[316],{"type":179,"value":272},{"type":173,"tag":262,"props":318,"children":319},{"style":275},[320],{"type":179,"value":321}," \"@nuxt/content\": \"^1.15.1\"\n",{"type":173,"tag":262,"props":323,"children":324},{"class":264,"line":281},[325,329],{"type":173,"tag":262,"props":326,"children":327},{"style":269},[328],{"type":179,"value":287},{"type":173,"tag":262,"props":330,"children":331},{"style":290},[332],{"type":179,"value":333}," \"@nuxt/content\": \"^2.0.0\"\n",{"type":173,"tag":194,"props":335,"children":336},{"start":296},[337],{"type":173,"tag":198,"props":338,"children":339},{},[340],{"type":179,"value":341},"Then, reinstall your dependencies:",{"type":173,"tag":252,"props":343,"children":347},{"className":344,"code":345,"language":346,"meta":167,"style":167},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install\n","bash",[348],{"type":173,"tag":204,"props":349,"children":350},{"__ignoreMap":167},[351],{"type":173,"tag":262,"props":352,"children":353},{"class":264,"line":265},[354,360],{"type":173,"tag":262,"props":355,"children":357},{"style":356},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[358],{"type":179,"value":359},"npm",{"type":173,"tag":262,"props":361,"children":362},{"style":290},[363],{"type":179,"value":364}," install\n",{"type":173,"tag":174,"props":366,"children":368},{"id":367},"global-components",[369],{"type":179,"value":370},"Global Components",{"type":173,"tag":372,"props":373,"children":374},"p",{},[375,377,383],{"type":179,"value":376},"The global components directory for Nuxt Content v2 is now ",{"type":173,"tag":204,"props":378,"children":380},{"className":379},[],[381],{"type":179,"value":382},"~/components/content",{"type":179,"value":384},".",{"type":173,"tag":252,"props":386,"children":388},{"className":254,"code":387,"language":256,"meta":167,"style":167},"- components/global\n+ components/content\n",[389],{"type":173,"tag":204,"props":390,"children":391},{"__ignoreMap":167},[392,404],{"type":173,"tag":262,"props":393,"children":394},{"class":264,"line":265},[395,399],{"type":173,"tag":262,"props":396,"children":397},{"style":269},[398],{"type":179,"value":272},{"type":173,"tag":262,"props":400,"children":401},{"style":275},[402],{"type":179,"value":403}," components/global\n",{"type":173,"tag":262,"props":405,"children":406},{"class":264,"line":281},[407,411],{"type":173,"tag":262,"props":408,"children":409},{"style":269},[410],{"type":179,"value":287},{"type":173,"tag":262,"props":412,"children":413},{"style":290},[414],{"type":179,"value":415}," components/content\n",{"type":173,"tag":174,"props":417,"children":419},{"id":418},"fetching-content",[420],{"type":179,"value":421},"Fetching Content",{"type":173,"tag":372,"props":423,"children":424},{},[425,427,433,435,441],{"type":179,"value":426},"There is no global ",{"type":173,"tag":204,"props":428,"children":430},{"className":429},[],[431],{"type":179,"value":432},"$content",{"type":179,"value":434}," variable, instead you can use ",{"type":173,"tag":204,"props":436,"children":438},{"className":437},[],[439],{"type":179,"value":440},"queryContent",{"type":179,"value":442}," composable to fetch contents.",{"type":173,"tag":252,"props":444,"children":446},{"className":254,"code":445,"language":256,"meta":167,"style":167},"- const posts = await this.$content('/blog', { deep: true }).only(['title']).fetch()\n+ const { data: posts } = await useAsyncData('posts-list', () => queryContent('/blog').only(['title']).find())\n",[447],{"type":173,"tag":204,"props":448,"children":449},{"__ignoreMap":167},[450,462],{"type":173,"tag":262,"props":451,"children":452},{"class":264,"line":265},[453,457],{"type":173,"tag":262,"props":454,"children":455},{"style":269},[456],{"type":179,"value":272},{"type":173,"tag":262,"props":458,"children":459},{"style":275},[460],{"type":179,"value":461}," const posts = await this.$content('/blog', { deep: true }).only(['title']).fetch()\n",{"type":173,"tag":262,"props":463,"children":464},{"class":264,"line":281},[465,469],{"type":173,"tag":262,"props":466,"children":467},{"style":269},[468],{"type":179,"value":287},{"type":173,"tag":262,"props":470,"children":471},{"style":290},[472],{"type":179,"value":473}," const { data: posts } = await useAsyncData('posts-list', () => queryContent('/blog').only(['title']).find())\n",{"type":173,"tag":372,"props":475,"children":476},{},[477,482,484,489],{"type":173,"tag":204,"props":478,"children":480},{"className":479},[],[481],{"type":179,"value":440},{"type":179,"value":483}," provides same utilities as legacy ",{"type":173,"tag":204,"props":485,"children":487},{"className":486},[],[488],{"type":179,"value":432},{"type":179,"value":490}," with some improvements:",{"type":173,"tag":492,"props":493,"children":494},"ul",{},[495,539,560,684,750],{"type":173,"tag":198,"props":496,"children":497},{},[498,504,506],{"type":173,"tag":204,"props":499,"children":501},{"className":500},[],[502],{"type":179,"value":503},"fetch",{"type":179,"value":505}," dropped in favor of new find utils",{"type":173,"tag":492,"props":507,"children":508},{},[509,524],{"type":173,"tag":198,"props":510,"children":511},{},[512,522],{"type":173,"tag":242,"props":513,"children":515},{"href":514},"/composables/query-content#find",[516],{"type":173,"tag":204,"props":517,"children":519},{"className":518},[],[520],{"type":179,"value":521},"find",{"type":179,"value":523},": retrieve a list of contents",{"type":173,"tag":198,"props":525,"children":526},{},[527,537],{"type":173,"tag":242,"props":528,"children":530},{"href":529},"/composables/query-content#findone",[531],{"type":173,"tag":204,"props":532,"children":534},{"className":533},[],[535],{"type":179,"value":536},"findOne",{"type":179,"value":538},": retrieve first matched content",{"type":173,"tag":198,"props":540,"children":541},{},[542,548,550],{"type":173,"tag":204,"props":543,"children":545},{"className":544},[],[546],{"type":179,"value":547},"surround",{"type":179,"value":549}," dropped in favor of ",{"type":173,"tag":242,"props":551,"children":553},{"href":552},"/composables/query-content#findsurroundpath-options",[554],{"type":173,"tag":204,"props":555,"children":557},{"className":556},[],[558],{"type":179,"value":559},"findSurround",{"type":173,"tag":198,"props":561,"children":562},{},[563,573,575],{"type":173,"tag":242,"props":564,"children":566},{"href":565},"/composables/query-content#wherequery",[567],{"type":173,"tag":204,"props":568,"children":570},{"className":569},[],[571],{"type":179,"value":572},"where",{"type":179,"value":574}," utility can be chained",{"type":173,"tag":252,"props":576,"children":580},{"className":577,"code":578,"language":579,"meta":167,"style":167},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","queryContent()\n  .where({ /* first step conditions */ })\n  .where({ /* second step conditions */ })\n  .find()\n","ts",[581],{"type":173,"tag":204,"props":582,"children":583},{"__ignoreMap":167},[584,598,636,668],{"type":173,"tag":262,"props":585,"children":586},{"class":264,"line":265},[587,592],{"type":173,"tag":262,"props":588,"children":590},{"style":589},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[591],{"type":179,"value":440},{"type":173,"tag":262,"props":593,"children":595},{"style":594},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[596],{"type":179,"value":597},"()\n",{"type":173,"tag":262,"props":599,"children":600},{"class":264,"line":281},[601,606,610,615,620,626,631],{"type":173,"tag":262,"props":602,"children":603},{"style":269},[604],{"type":179,"value":605},"  .",{"type":173,"tag":262,"props":607,"children":608},{"style":589},[609],{"type":179,"value":572},{"type":173,"tag":262,"props":611,"children":612},{"style":594},[613],{"type":179,"value":614},"(",{"type":173,"tag":262,"props":616,"children":617},{"style":269},[618],{"type":179,"value":619},"{",{"type":173,"tag":262,"props":621,"children":623},{"style":622},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[624],{"type":179,"value":625}," /* first step conditions */",{"type":173,"tag":262,"props":627,"children":628},{"style":269},[629],{"type":179,"value":630}," }",{"type":173,"tag":262,"props":632,"children":633},{"style":594},[634],{"type":179,"value":635},")\n",{"type":173,"tag":262,"props":637,"children":638},{"class":264,"line":296},[639,643,647,651,655,660,664],{"type":173,"tag":262,"props":640,"children":641},{"style":269},[642],{"type":179,"value":605},{"type":173,"tag":262,"props":644,"children":645},{"style":589},[646],{"type":179,"value":572},{"type":173,"tag":262,"props":648,"children":649},{"style":594},[650],{"type":179,"value":614},{"type":173,"tag":262,"props":652,"children":653},{"style":269},[654],{"type":179,"value":619},{"type":173,"tag":262,"props":656,"children":657},{"style":622},[658],{"type":179,"value":659}," /* second step conditions */",{"type":173,"tag":262,"props":661,"children":662},{"style":269},[663],{"type":179,"value":630},{"type":173,"tag":262,"props":665,"children":666},{"style":594},[667],{"type":179,"value":635},{"type":173,"tag":262,"props":669,"children":671},{"class":264,"line":670},4,[672,676,680],{"type":173,"tag":262,"props":673,"children":674},{"style":269},[675],{"type":179,"value":605},{"type":173,"tag":262,"props":677,"children":678},{"style":589},[679],{"type":179,"value":521},{"type":173,"tag":262,"props":681,"children":682},{"style":594},[683],{"type":179,"value":597},{"type":173,"tag":198,"props":685,"children":686},{},[687,689,695,697],{"type":179,"value":688},"There is no ",{"type":173,"tag":204,"props":690,"children":692},{"className":691},[],[693],{"type":179,"value":694},"search",{"type":179,"value":696}," utility for full text search.",{"type":173,"tag":252,"props":698,"children":702},{"className":699,"code":700,"language":701,"meta":167,"style":167},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const doc = await getContentDocument(post.id)\n","js",[703],{"type":173,"tag":204,"props":704,"children":705},{"__ignoreMap":167},[706],{"type":173,"tag":262,"props":707,"children":708},{"class":264,"line":265},[709,715,720,725,731,736,741,745],{"type":173,"tag":262,"props":710,"children":712},{"style":711},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[713],{"type":179,"value":714},"const",{"type":173,"tag":262,"props":716,"children":717},{"style":594},[718],{"type":179,"value":719}," doc ",{"type":173,"tag":262,"props":721,"children":722},{"style":269},[723],{"type":179,"value":724},"=",{"type":173,"tag":262,"props":726,"children":728},{"style":727},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[729],{"type":179,"value":730}," await",{"type":173,"tag":262,"props":732,"children":733},{"style":589},[734],{"type":179,"value":735}," getContentDocument",{"type":173,"tag":262,"props":737,"children":738},{"style":594},[739],{"type":179,"value":740},"(post",{"type":173,"tag":262,"props":742,"children":743},{"style":269},[744],{"type":179,"value":384},{"type":173,"tag":262,"props":746,"children":747},{"style":594},[748],{"type":179,"value":749},"id)\n",{"type":173,"tag":198,"props":751,"children":752},{},[753,755,764,766,772],{"type":179,"value":754},"There is a new ",{"type":173,"tag":242,"props":756,"children":757},{"href":54},[758],{"type":173,"tag":204,"props":759,"children":761},{"className":760},[],[762],{"type":179,"value":763},"fetchContentNavigation",{"type":179,"value":765}," utility is designed to provide a tree of items based on the ",{"type":173,"tag":204,"props":767,"children":769},{"className":768},[],[770],{"type":179,"value":771},"content/",{"type":179,"value":773}," directory structure.",{"type":173,"tag":174,"props":775,"children":777},{"id":776},"rendering-content",[778],{"type":179,"value":779},"Rendering Content",{"type":173,"tag":372,"props":781,"children":782},{},[783,789,791,796],{"type":173,"tag":204,"props":784,"children":786},{"className":785},[],[787],{"type":179,"value":788},"\u003CNuxtContent>",{"type":179,"value":790}," component removed in favor of a ",{"type":173,"tag":204,"props":792,"children":794},{"className":793},[],[795],{"type":179,"value":75},{"type":179,"value":797}," component.",{"type":173,"tag":372,"props":799,"children":800},{},[801,806],{"type":173,"tag":204,"props":802,"children":804},{"className":803},[],[805],{"type":179,"value":72},{"type":179,"value":807}," component receives a document path and then fetches and renders the document.",{"type":173,"tag":252,"props":809,"children":813},{"className":810,"code":811,"language":812,"meta":167,"style":167},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst route = useRoute()\n\nconst { data } = await useAsyncData('get-document', () => queryContent(route.path).findOne())\n\u003C/script>\n\n\u003Ctemplate>\n  \u003CContentRenderer :value=\"data\" />\n\u003C/template>\n","vue",[814],{"type":173,"tag":204,"props":815,"children":816},{"__ignoreMap":167},[817,862,887,896,997,1014,1022,1039,1085],{"type":173,"tag":262,"props":818,"children":819},{"class":264,"line":265},[820,825,830,835,840,844,849,853,857],{"type":173,"tag":262,"props":821,"children":822},{"style":269},[823],{"type":179,"value":824},"\u003C",{"type":173,"tag":262,"props":826,"children":827},{"style":275},[828],{"type":179,"value":829},"script",{"type":173,"tag":262,"props":831,"children":832},{"style":711},[833],{"type":179,"value":834}," setup",{"type":173,"tag":262,"props":836,"children":837},{"style":711},[838],{"type":179,"value":839}," lang",{"type":173,"tag":262,"props":841,"children":842},{"style":269},[843],{"type":179,"value":724},{"type":173,"tag":262,"props":845,"children":846},{"style":269},[847],{"type":179,"value":848},"\"",{"type":173,"tag":262,"props":850,"children":851},{"style":290},[852],{"type":179,"value":579},{"type":173,"tag":262,"props":854,"children":855},{"style":269},[856],{"type":179,"value":848},{"type":173,"tag":262,"props":858,"children":859},{"style":269},[860],{"type":179,"value":861},">\n",{"type":173,"tag":262,"props":863,"children":864},{"class":264,"line":281},[865,869,874,878,883],{"type":173,"tag":262,"props":866,"children":867},{"style":711},[868],{"type":179,"value":714},{"type":173,"tag":262,"props":870,"children":871},{"style":594},[872],{"type":179,"value":873}," route ",{"type":173,"tag":262,"props":875,"children":876},{"style":269},[877],{"type":179,"value":724},{"type":173,"tag":262,"props":879,"children":880},{"style":589},[881],{"type":179,"value":882}," useRoute",{"type":173,"tag":262,"props":884,"children":885},{"style":594},[886],{"type":179,"value":597},{"type":173,"tag":262,"props":888,"children":889},{"class":264,"line":296},[890],{"type":173,"tag":262,"props":891,"children":893},{"emptyLinePlaceholder":892},true,[894],{"type":179,"value":895},"\n",{"type":173,"tag":262,"props":897,"children":898},{"class":264,"line":670},[899,903,908,913,918,923,927,932,936,941,946,950,955,960,965,970,975,979,984,988,992],{"type":173,"tag":262,"props":900,"children":901},{"style":711},[902],{"type":179,"value":714},{"type":173,"tag":262,"props":904,"children":905},{"style":269},[906],{"type":179,"value":907}," {",{"type":173,"tag":262,"props":909,"children":910},{"style":594},[911],{"type":179,"value":912}," data ",{"type":173,"tag":262,"props":914,"children":915},{"style":269},[916],{"type":179,"value":917},"}",{"type":173,"tag":262,"props":919,"children":920},{"style":269},[921],{"type":179,"value":922}," =",{"type":173,"tag":262,"props":924,"children":925},{"style":727},[926],{"type":179,"value":730},{"type":173,"tag":262,"props":928,"children":929},{"style":589},[930],{"type":179,"value":931}," useAsyncData",{"type":173,"tag":262,"props":933,"children":934},{"style":594},[935],{"type":179,"value":614},{"type":173,"tag":262,"props":937,"children":938},{"style":269},[939],{"type":179,"value":940},"'",{"type":173,"tag":262,"props":942,"children":943},{"style":290},[944],{"type":179,"value":945},"get-document",{"type":173,"tag":262,"props":947,"children":948},{"style":269},[949],{"type":179,"value":940},{"type":173,"tag":262,"props":951,"children":952},{"style":269},[953],{"type":179,"value":954},",",{"type":173,"tag":262,"props":956,"children":957},{"style":269},[958],{"type":179,"value":959}," ()",{"type":173,"tag":262,"props":961,"children":962},{"style":711},[963],{"type":179,"value":964}," =>",{"type":173,"tag":262,"props":966,"children":967},{"style":589},[968],{"type":179,"value":969}," queryContent",{"type":173,"tag":262,"props":971,"children":972},{"style":594},[973],{"type":179,"value":974},"(route",{"type":173,"tag":262,"props":976,"children":977},{"style":269},[978],{"type":179,"value":384},{"type":173,"tag":262,"props":980,"children":981},{"style":594},[982],{"type":179,"value":983},"path)",{"type":173,"tag":262,"props":985,"children":986},{"style":269},[987],{"type":179,"value":384},{"type":173,"tag":262,"props":989,"children":990},{"style":589},[991],{"type":179,"value":536},{"type":173,"tag":262,"props":993,"children":994},{"style":594},[995],{"type":179,"value":996},"())\n",{"type":173,"tag":262,"props":998,"children":1000},{"class":264,"line":999},5,[1001,1006,1010],{"type":173,"tag":262,"props":1002,"children":1003},{"style":269},[1004],{"type":179,"value":1005},"\u003C/",{"type":173,"tag":262,"props":1007,"children":1008},{"style":275},[1009],{"type":179,"value":829},{"type":173,"tag":262,"props":1011,"children":1012},{"style":269},[1013],{"type":179,"value":861},{"type":173,"tag":262,"props":1015,"children":1017},{"class":264,"line":1016},6,[1018],{"type":173,"tag":262,"props":1019,"children":1020},{"emptyLinePlaceholder":892},[1021],{"type":179,"value":895},{"type":173,"tag":262,"props":1023,"children":1025},{"class":264,"line":1024},7,[1026,1030,1035],{"type":173,"tag":262,"props":1027,"children":1028},{"style":269},[1029],{"type":179,"value":824},{"type":173,"tag":262,"props":1031,"children":1032},{"style":275},[1033],{"type":179,"value":1034},"template",{"type":173,"tag":262,"props":1036,"children":1037},{"style":269},[1038],{"type":179,"value":861},{"type":173,"tag":262,"props":1040,"children":1042},{"class":264,"line":1041},8,[1043,1048,1053,1058,1063,1067,1071,1076,1080],{"type":173,"tag":262,"props":1044,"children":1045},{"style":269},[1046],{"type":179,"value":1047},"  \u003C",{"type":173,"tag":262,"props":1049,"children":1050},{"style":275},[1051],{"type":179,"value":1052},"ContentRenderer",{"type":173,"tag":262,"props":1054,"children":1055},{"style":269},[1056],{"type":179,"value":1057}," :",{"type":173,"tag":262,"props":1059,"children":1060},{"style":711},[1061],{"type":179,"value":1062},"value",{"type":173,"tag":262,"props":1064,"children":1065},{"style":269},[1066],{"type":179,"value":724},{"type":173,"tag":262,"props":1068,"children":1069},{"style":269},[1070],{"type":179,"value":848},{"type":173,"tag":262,"props":1072,"children":1073},{"style":594},[1074],{"type":179,"value":1075},"data",{"type":173,"tag":262,"props":1077,"children":1078},{"style":269},[1079],{"type":179,"value":848},{"type":173,"tag":262,"props":1081,"children":1082},{"style":269},[1083],{"type":179,"value":1084}," />\n",{"type":173,"tag":262,"props":1086,"children":1088},{"class":264,"line":1087},9,[1089,1093,1097],{"type":173,"tag":262,"props":1090,"children":1091},{"style":269},[1092],{"type":179,"value":1005},{"type":173,"tag":262,"props":1094,"children":1095},{"style":275},[1096],{"type":179,"value":1034},{"type":173,"tag":262,"props":1098,"children":1099},{"style":269},[1100],{"type":179,"value":861},{"type":173,"tag":372,"props":1102,"children":1103},{},[1104,1106,1112,1114,1119],{"type":179,"value":1105},"You can go even faster if you know that ",{"type":173,"tag":204,"props":1107,"children":1109},{"className":1108},[],[1110],{"type":179,"value":1111},"route.path",{"type":179,"value":1113}," will be the same as your content files, use the ",{"type":173,"tag":204,"props":1115,"children":1117},{"className":1116},[],[1118],{"type":179,"value":72},{"type":179,"value":1120}," component:",{"type":173,"tag":252,"props":1122,"children":1124},{"className":810,"code":1123,"language":812,"meta":167,"style":167},"\u003Ctemplate>\n  \u003CContentDoc />\n\u003C/template>\n",[1125],{"type":173,"tag":204,"props":1126,"children":1127},{"__ignoreMap":167},[1128,1143,1159],{"type":173,"tag":262,"props":1129,"children":1130},{"class":264,"line":265},[1131,1135,1139],{"type":173,"tag":262,"props":1132,"children":1133},{"style":269},[1134],{"type":179,"value":824},{"type":173,"tag":262,"props":1136,"children":1137},{"style":275},[1138],{"type":179,"value":1034},{"type":173,"tag":262,"props":1140,"children":1141},{"style":269},[1142],{"type":179,"value":861},{"type":173,"tag":262,"props":1144,"children":1145},{"class":264,"line":281},[1146,1150,1155],{"type":173,"tag":262,"props":1147,"children":1148},{"style":269},[1149],{"type":179,"value":1047},{"type":173,"tag":262,"props":1151,"children":1152},{"style":275},[1153],{"type":179,"value":1154},"ContentDoc",{"type":173,"tag":262,"props":1156,"children":1157},{"style":269},[1158],{"type":179,"value":1084},{"type":173,"tag":262,"props":1160,"children":1161},{"class":264,"line":296},[1162,1166,1170],{"type":173,"tag":262,"props":1163,"children":1164},{"style":269},[1165],{"type":179,"value":1005},{"type":173,"tag":262,"props":1167,"children":1168},{"style":275},[1169],{"type":179,"value":1034},{"type":173,"tag":262,"props":1171,"children":1172},{"style":269},[1173],{"type":179,"value":861},{"type":173,"tag":372,"props":1175,"children":1176},{},[1177,1179,1184,1186,1191],{"type":179,"value":1178},"The ",{"type":173,"tag":204,"props":1180,"children":1182},{"className":1181},[],[1183],{"type":179,"value":72},{"type":179,"value":1185}," component will fetch the document for the current route path and use ",{"type":173,"tag":204,"props":1187,"children":1189},{"className":1188},[],[1190],{"type":179,"value":75},{"type":179,"value":1192}," to render it.",{"type":173,"tag":174,"props":1194,"children":1196},{"id":1195},"feature-comparison",[1197],{"type":179,"value":1198},"Feature comparison",{"type":173,"tag":1200,"props":1201,"children":1202},"table",{},[1203,1228],{"type":173,"tag":1204,"props":1205,"children":1206},"thead",{},[1207],{"type":173,"tag":1208,"props":1209,"children":1210},"tr",{},[1211,1217,1223],{"type":173,"tag":1212,"props":1213,"children":1214},"th",{},[1215],{"type":179,"value":1216},"Feature / Version",{"type":173,"tag":1212,"props":1218,"children":1220},{"align":1219},"center",[1221],{"type":179,"value":1222},"Content v1",{"type":173,"tag":1212,"props":1224,"children":1225},{"align":1219},[1226],{"type":179,"value":1227},"Content v2",{"type":173,"tag":1229,"props":1230,"children":1231},"tbody",{},[1232,1259,1356,1374,1390,1410,1430,1450,1466,1482,1498],{"type":173,"tag":1208,"props":1233,"children":1234},{},[1235,1241,1250],{"type":173,"tag":1236,"props":1237,"children":1238},"td",{},[1239],{"type":179,"value":1240},"Nuxt Version",{"type":173,"tag":1236,"props":1242,"children":1243},{"align":1219},[1244],{"type":173,"tag":204,"props":1245,"children":1247},{"className":1246},[],[1248],{"type":179,"value":1249},"nuxt@2.x",{"type":173,"tag":1236,"props":1251,"children":1252},{"align":1219},[1253],{"type":173,"tag":204,"props":1254,"children":1256},{"className":1255},[],[1257],{"type":179,"value":1258},"nuxt@3.x",{"type":173,"tag":1208,"props":1260,"children":1261},{},[1262,1267,1318],{"type":173,"tag":1236,"props":1263,"children":1264},{},[1265],{"type":179,"value":1266},"Supported files",{"type":173,"tag":1236,"props":1268,"children":1269},{"align":1219},[1270,1276,1277,1283,1284,1290,1291,1297,1298,1304,1305,1311,1312],{"type":173,"tag":204,"props":1271,"children":1273},{"className":1272},[],[1274],{"type":179,"value":1275},".md",{"type":179,"value":219},{"type":173,"tag":204,"props":1278,"children":1280},{"className":1279},[],[1281],{"type":179,"value":1282},".yaml",{"type":179,"value":219},{"type":173,"tag":204,"props":1285,"children":1287},{"className":1286},[],[1288],{"type":179,"value":1289},".yml",{"type":179,"value":219},{"type":173,"tag":204,"props":1292,"children":1294},{"className":1293},[],[1295],{"type":179,"value":1296},".csv",{"type":179,"value":219},{"type":173,"tag":204,"props":1299,"children":1301},{"className":1300},[],[1302],{"type":179,"value":1303},".json",{"type":179,"value":219},{"type":173,"tag":204,"props":1306,"children":1308},{"className":1307},[],[1309],{"type":179,"value":1310},".json5",{"type":179,"value":219},{"type":173,"tag":204,"props":1313,"children":1315},{"className":1314},[],[1316],{"type":179,"value":1317},".xml",{"type":173,"tag":1236,"props":1319,"children":1320},{"align":1219},[1321,1326,1327,1332,1333,1338,1339,1344,1345,1350,1351],{"type":173,"tag":204,"props":1322,"children":1324},{"className":1323},[],[1325],{"type":179,"value":1275},{"type":179,"value":219},{"type":173,"tag":204,"props":1328,"children":1330},{"className":1329},[],[1331],{"type":179,"value":1282},{"type":179,"value":219},{"type":173,"tag":204,"props":1334,"children":1336},{"className":1335},[],[1337],{"type":179,"value":1289},{"type":179,"value":219},{"type":173,"tag":204,"props":1340,"children":1342},{"className":1341},[],[1343],{"type":179,"value":1296},{"type":179,"value":219},{"type":173,"tag":204,"props":1346,"children":1348},{"className":1347},[],[1349],{"type":179,"value":1303},{"type":179,"value":219},{"type":173,"tag":204,"props":1352,"children":1354},{"className":1353},[],[1355],{"type":179,"value":1310},{"type":173,"tag":1208,"props":1357,"children":1358},{},[1359,1364,1369],{"type":173,"tag":1236,"props":1360,"children":1361},{},[1362],{"type":179,"value":1363},"Full text search",{"type":173,"tag":1236,"props":1365,"children":1366},{"align":1219},[1367],{"type":179,"value":1368},"✅",{"type":173,"tag":1236,"props":1370,"children":1371},{"align":1219},[1372],{"type":179,"value":1373},"❌",{"type":173,"tag":1208,"props":1375,"children":1376},{},[1377,1382,1386],{"type":173,"tag":1236,"props":1378,"children":1379},{},[1380],{"type":179,"value":1381},"Reactive Composables",{"type":173,"tag":1236,"props":1383,"children":1384},{"align":1219},[1385],{"type":179,"value":1373},{"type":173,"tag":1236,"props":1387,"children":1388},{"align":1219},[1389],{"type":179,"value":1368},{"type":173,"tag":1208,"props":1391,"children":1392},{},[1393,1402,1406],{"type":173,"tag":1236,"props":1394,"children":1395},{},[1396],{"type":173,"tag":242,"props":1397,"children":1399},{"href":1398},"/usage/markdown#front-matter",[1400],{"type":179,"value":1401},"FrontMatter",{"type":173,"tag":1236,"props":1403,"children":1404},{"align":1219},[1405],{"type":179,"value":1368},{"type":173,"tag":1236,"props":1407,"children":1408},{"align":1219},[1409],{"type":179,"value":1368},{"type":173,"tag":1208,"props":1411,"children":1412},{},[1413,1422,1426],{"type":173,"tag":1236,"props":1414,"children":1415},{},[1416],{"type":173,"tag":242,"props":1417,"children":1419},{"href":1418},"/v1/getting-started/writing#excerpt",[1420],{"type":179,"value":1421},"Excerpt",{"type":173,"tag":1236,"props":1423,"children":1424},{"align":1219},[1425],{"type":179,"value":1368},{"type":173,"tag":1236,"props":1427,"children":1428},{"align":1219},[1429],{"type":179,"value":1368},{"type":173,"tag":1208,"props":1431,"children":1432},{},[1433,1442,1446],{"type":173,"tag":1236,"props":1434,"children":1435},{},[1436],{"type":173,"tag":242,"props":1437,"children":1439},{"href":1438},"/v1/getting-started/writing#table-of-contents",[1440],{"type":179,"value":1441},"Table Of Contents",{"type":173,"tag":1236,"props":1443,"children":1444},{"align":1219},[1445],{"type":179,"value":1368},{"type":173,"tag":1236,"props":1447,"children":1448},{"align":1219},[1449],{"type":179,"value":1368},{"type":173,"tag":1208,"props":1451,"children":1452},{},[1453,1458,1462],{"type":173,"tag":1236,"props":1454,"children":1455},{},[1456],{"type":179,"value":1457},"MDC Components syntax",{"type":173,"tag":1236,"props":1459,"children":1460},{"align":1219},[1461],{"type":179,"value":1373},{"type":173,"tag":1236,"props":1463,"children":1464},{"align":1219},[1465],{"type":179,"value":1368},{"type":173,"tag":1208,"props":1467,"children":1468},{},[1469,1474,1478],{"type":173,"tag":1236,"props":1470,"children":1471},{},[1472],{"type":179,"value":1473},"Multi Source",{"type":173,"tag":1236,"props":1475,"children":1476},{"align":1219},[1477],{"type":179,"value":1373},{"type":173,"tag":1236,"props":1479,"children":1480},{"align":1219},[1481],{"type":179,"value":1368},{"type":173,"tag":1208,"props":1483,"children":1484},{},[1485,1490,1494],{"type":173,"tag":1236,"props":1486,"children":1487},{},[1488],{"type":179,"value":1489},"Locale Support",{"type":173,"tag":1236,"props":1491,"children":1492},{"align":1219},[1493],{"type":179,"value":1373},{"type":173,"tag":1236,"props":1495,"children":1496},{"align":1219},[1497],{"type":179,"value":1368},{"type":173,"tag":1208,"props":1499,"children":1500},{},[1501,1506,1510],{"type":173,"tag":1236,"props":1502,"children":1503},{},[1504],{"type":179,"value":1505},"Content Navigation",{"type":173,"tag":1236,"props":1507,"children":1508},{"align":1219},[1509],{"type":179,"value":1373},{"type":173,"tag":1236,"props":1511,"children":1512},{"align":1219},[1513],{"type":179,"value":1368},{"type":173,"tag":174,"props":1515,"children":1517},{"id":1516},"querying-content",[1518],{"type":179,"value":1519},"Querying content",{"type":173,"tag":1521,"props":1522,"children":1524},"callout",{"type":1523},"info",[1525],{"type":173,"tag":372,"props":1526,"children":1527},{},[1528,1530],{"type":179,"value":1529},"Learn more about query methods in the ",{"type":173,"tag":242,"props":1531,"children":1532},{"href":51},[1533],{"type":179,"value":1534},"API reference",{"type":173,"tag":1536,"props":1537,"children":1538},"style",{},[1539],{"type":179,"value":1540},"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);}",{"title":167,"searchDepth":281,"depth":281,"links":1542},[1543,1544,1545,1546,1547,1548,1549],{"id":176,"depth":281,"text":180},{"id":189,"depth":281,"text":192},{"id":367,"depth":281,"text":370},{"id":418,"depth":281,"text":421},{"id":776,"depth":281,"text":779},{"id":1195,"depth":281,"text":1198},{"id":1516,"depth":281,"text":1519},"markdown","content:1.get-started:5.from-v1.md","content","1.get-started/5.from-v1.md","1.get-started/5.from-v1","md",[1557,1850],{"_path":16,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":15,"description":1558,"body":1559,"_type":1550,"_id":1847,"_source":1552,"_file":1848,"_stem":1849,"_extension":1555},"Nuxt Content is landing commits, improvements, and bug fixes every day. You can opt-in to test them earlier before the next release.",{"type":170,"children":1560,"toc":1843},[1561,1568,1597,1602,1616,1624,1630,1651,1714,1738,1744,1760,1817,1839],{"type":173,"tag":1562,"props":1563,"children":1565},"h1",{"id":1564},"automated-release",[1566],{"type":179,"value":1567},"Automated release",{"type":173,"tag":372,"props":1569,"children":1570},{},[1571,1573,1579,1581,1587,1589,1595],{"type":179,"value":1572},"After each commit is merged into the ",{"type":173,"tag":204,"props":1574,"children":1576},{"className":1575},[],[1577],{"type":179,"value":1578},"main",{"type":179,"value":1580}," branch of @nuxt/content and ",{"type":173,"tag":1582,"props":1583,"children":1584},"strong",{},[1585],{"type":179,"value":1586},"passing all tests",{"type":179,"value":1588},", we trigger an automated npm release using Github Actions publishing a ",{"type":173,"tag":204,"props":1590,"children":1592},{"className":1591},[],[1593],{"type":179,"value":1594},"@nuxt/content-edge",{"type":179,"value":1596}," package.",{"type":173,"tag":372,"props":1598,"children":1599},{},[1600],{"type":179,"value":1601},"You can opt in to use this release channel and avoid waiting for the next release and helping the module by beta testing changes.",{"type":173,"tag":372,"props":1603,"children":1604},{},[1605,1607,1614],{"type":179,"value":1606},"The build and publishing method and quality of edge releases are the same as stable ones. The only difference is that you should often check the ",{"type":173,"tag":242,"props":1608,"children":1611},{"href":1609,"rel":1610},"https://github.com/nuxt/content",[246],[1612],{"type":179,"value":1613},"GitHub repository",{"type":179,"value":1615}," for updates. There is a slight chance of regressions not being caught during the review process and by the automated tests. Therefore, we internally use this channel to double-check everything before each release.",{"type":173,"tag":1521,"props":1617,"children":1618},{"type":1523},[1619],{"type":173,"tag":372,"props":1620,"children":1621},{},[1622],{"type":179,"value":1623},"Features only available on the edge channel are marked with an alert in the documentation.",{"type":173,"tag":174,"props":1625,"children":1627},{"id":1626},"opting-into-the-edge-channel",[1628],{"type":179,"value":1629},"Opting into the edge channel",{"type":173,"tag":372,"props":1631,"children":1632},{},[1633,1635,1641,1643,1649],{"type":179,"value":1634},"Update ",{"type":173,"tag":204,"props":1636,"children":1638},{"className":1637},[],[1639],{"type":179,"value":1640},"@nuxt/content",{"type":179,"value":1642}," dependency inside ",{"type":173,"tag":204,"props":1644,"children":1646},{"className":1645},[],[1647],{"type":179,"value":1648},"package.json",{"type":179,"value":1650},":",{"type":173,"tag":252,"props":1652,"children":1654},{"className":254,"code":1653,"filename":1648,"language":256,"meta":167,"style":167},"{\n  \"devDependencies\": {\n-   \"@nuxt/content\": \"^2.0.0\"\n+   \"@nuxt/content\": \"npm:@nuxt/content-edge@latest\"\n  }\n}\n",[1655],{"type":173,"tag":204,"props":1656,"children":1657},{"__ignoreMap":167},[1658,1666,1674,1686,1698,1706],{"type":173,"tag":262,"props":1659,"children":1660},{"class":264,"line":265},[1661],{"type":173,"tag":262,"props":1662,"children":1663},{"style":594},[1664],{"type":179,"value":1665},"{\n",{"type":173,"tag":262,"props":1667,"children":1668},{"class":264,"line":281},[1669],{"type":173,"tag":262,"props":1670,"children":1671},{"style":594},[1672],{"type":179,"value":1673},"  \"devDependencies\": {\n",{"type":173,"tag":262,"props":1675,"children":1676},{"class":264,"line":296},[1677,1681],{"type":173,"tag":262,"props":1678,"children":1679},{"style":269},[1680],{"type":179,"value":272},{"type":173,"tag":262,"props":1682,"children":1683},{"style":275},[1684],{"type":179,"value":1685},"   \"@nuxt/content\": \"^2.0.0\"\n",{"type":173,"tag":262,"props":1687,"children":1688},{"class":264,"line":670},[1689,1693],{"type":173,"tag":262,"props":1690,"children":1691},{"style":269},[1692],{"type":179,"value":287},{"type":173,"tag":262,"props":1694,"children":1695},{"style":290},[1696],{"type":179,"value":1697},"   \"@nuxt/content\": \"npm:@nuxt/content-edge@latest\"\n",{"type":173,"tag":262,"props":1699,"children":1700},{"class":264,"line":999},[1701],{"type":173,"tag":262,"props":1702,"children":1703},{"style":594},[1704],{"type":179,"value":1705},"  }\n",{"type":173,"tag":262,"props":1707,"children":1708},{"class":264,"line":1016},[1709],{"type":173,"tag":262,"props":1710,"children":1711},{"style":594},[1712],{"type":179,"value":1713},"}\n",{"type":173,"tag":372,"props":1715,"children":1716},{},[1717,1719,1724,1725,1730,1731,1736],{"type":179,"value":1718},"Remove lockfile (",{"type":173,"tag":204,"props":1720,"children":1722},{"className":1721},[],[1723],{"type":179,"value":217},{"type":179,"value":219},{"type":173,"tag":204,"props":1726,"children":1728},{"className":1727},[],[1729],{"type":179,"value":225},{"type":179,"value":227},{"type":173,"tag":204,"props":1732,"children":1734},{"className":1733},[],[1735],{"type":179,"value":233},{"type":179,"value":1737},") and reinstall dependencies.",{"type":173,"tag":174,"props":1739,"children":1741},{"id":1740},"opting-out-from-the-edge-channel",[1742],{"type":179,"value":1743},"Opting out from the edge channel",{"type":173,"tag":372,"props":1745,"children":1746},{},[1747,1748,1753,1754,1759],{"type":179,"value":1634},{"type":173,"tag":204,"props":1749,"children":1751},{"className":1750},[],[1752],{"type":179,"value":1640},{"type":179,"value":1642},{"type":173,"tag":204,"props":1755,"children":1757},{"className":1756},[],[1758],{"type":179,"value":1648},{"type":179,"value":1650},{"type":173,"tag":252,"props":1761,"children":1763},{"className":254,"code":1762,"filename":1648,"language":256,"meta":167,"style":167},"{\n  \"devDependencies\": {\n-   \"@nuxt/content\": \"npm:@nuxt/content-edge@latest\"\n+   \"@nuxt/content\": \"^2.0.0\"\n  }\n}\n",[1764],{"type":173,"tag":204,"props":1765,"children":1766},{"__ignoreMap":167},[1767,1774,1781,1792,1803,1810],{"type":173,"tag":262,"props":1768,"children":1769},{"class":264,"line":265},[1770],{"type":173,"tag":262,"props":1771,"children":1772},{"style":594},[1773],{"type":179,"value":1665},{"type":173,"tag":262,"props":1775,"children":1776},{"class":264,"line":281},[1777],{"type":173,"tag":262,"props":1778,"children":1779},{"style":594},[1780],{"type":179,"value":1673},{"type":173,"tag":262,"props":1782,"children":1783},{"class":264,"line":296},[1784,1788],{"type":173,"tag":262,"props":1785,"children":1786},{"style":269},[1787],{"type":179,"value":272},{"type":173,"tag":262,"props":1789,"children":1790},{"style":275},[1791],{"type":179,"value":1697},{"type":173,"tag":262,"props":1793,"children":1794},{"class":264,"line":670},[1795,1799],{"type":173,"tag":262,"props":1796,"children":1797},{"style":269},[1798],{"type":179,"value":287},{"type":173,"tag":262,"props":1800,"children":1801},{"style":290},[1802],{"type":179,"value":1685},{"type":173,"tag":262,"props":1804,"children":1805},{"class":264,"line":999},[1806],{"type":173,"tag":262,"props":1807,"children":1808},{"style":594},[1809],{"type":179,"value":1705},{"type":173,"tag":262,"props":1811,"children":1812},{"class":264,"line":1016},[1813],{"type":173,"tag":262,"props":1814,"children":1815},{"style":594},[1816],{"type":179,"value":1713},{"type":173,"tag":372,"props":1818,"children":1819},{},[1820,1821,1826,1827,1832,1833,1838],{"type":179,"value":1718},{"type":173,"tag":204,"props":1822,"children":1824},{"className":1823},[],[1825],{"type":179,"value":217},{"type":179,"value":219},{"type":173,"tag":204,"props":1828,"children":1830},{"className":1829},[],[1831],{"type":179,"value":225},{"type":179,"value":227},{"type":173,"tag":204,"props":1834,"children":1836},{"className":1835},[],[1837],{"type":179,"value":233},{"type":179,"value":1737},{"type":173,"tag":1536,"props":1840,"children":1841},{},[1842],{"type":179,"value":1540},{"title":167,"searchDepth":281,"depth":281,"links":1844},[1845,1846],{"id":1626,"depth":281,"text":1629},{"id":1740,"depth":281,"text":1743},"content:1.get-started:4.edge-channel.md","1.get-started/4.edge-channel.md","1.get-started/4.edge-channel",{"_path":26,"_dir":1851,"_draft":166,"_partial":166,"_locale":167,"title":25,"description":1852,"body":1853,"_type":1550,"_id":2168,"_source":1552,"_file":2169,"_stem":2170,"_extension":1555},"usage","The Content module parses .md and .yaml files inside the content/ directory and provides paths according to the directory structure.",{"type":170,"children":1854,"toc":2162},[1855,1861,1866,1994,2022,2036,2042,2054,2063,2078,2084,2095,2103,2109,2122,2127,2135,2150],{"type":173,"tag":174,"props":1856,"children":1858},{"id":1857},"paths",[1859],{"type":179,"value":1860},"Paths",{"type":173,"tag":372,"props":1862,"children":1863},{},[1864],{"type":179,"value":1865},"Nuxt Content will automatically generate paths for your content files.",{"type":173,"tag":1200,"props":1867,"children":1868},{},[1869,1886],{"type":173,"tag":1204,"props":1870,"children":1871},{},[1872],{"type":173,"tag":1208,"props":1873,"children":1874},{},[1875,1880],{"type":173,"tag":1212,"props":1876,"children":1877},{},[1878],{"type":179,"value":1879},"File",{"type":173,"tag":1212,"props":1881,"children":1883},{"align":1882},"left",[1884],{"type":179,"value":1885},"Internal path",{"type":173,"tag":1229,"props":1887,"children":1888},{},[1889,1910,1931,1952,1973],{"type":173,"tag":1208,"props":1890,"children":1891},{},[1892,1901],{"type":173,"tag":1236,"props":1893,"children":1894},{},[1895],{"type":173,"tag":204,"props":1896,"children":1898},{"className":1897},[],[1899],{"type":179,"value":1900},"content/index.md",{"type":173,"tag":1236,"props":1902,"children":1903},{"align":1882},[1904],{"type":173,"tag":204,"props":1905,"children":1907},{"className":1906},[],[1908],{"type":179,"value":1909},"/",{"type":173,"tag":1208,"props":1911,"children":1912},{},[1913,1922],{"type":173,"tag":1236,"props":1914,"children":1915},{},[1916],{"type":173,"tag":204,"props":1917,"children":1919},{"className":1918},[],[1920],{"type":179,"value":1921},"content/about.md",{"type":173,"tag":1236,"props":1923,"children":1924},{"align":1882},[1925],{"type":173,"tag":204,"props":1926,"children":1928},{"className":1927},[],[1929],{"type":179,"value":1930},"/about",{"type":173,"tag":1208,"props":1932,"children":1933},{},[1934,1943],{"type":173,"tag":1236,"props":1935,"children":1936},{},[1937],{"type":173,"tag":204,"props":1938,"children":1940},{"className":1939},[],[1941],{"type":179,"value":1942},"content/blog/index.md",{"type":173,"tag":1236,"props":1944,"children":1945},{"align":1882},[1946],{"type":173,"tag":204,"props":1947,"children":1949},{"className":1948},[],[1950],{"type":179,"value":1951},"/blog",{"type":173,"tag":1208,"props":1953,"children":1954},{},[1955,1964],{"type":173,"tag":1236,"props":1956,"children":1957},{},[1958],{"type":173,"tag":204,"props":1959,"children":1961},{"className":1960},[],[1962],{"type":179,"value":1963},"content/blog/hello.md",{"type":173,"tag":1236,"props":1965,"children":1966},{"align":1882},[1967],{"type":173,"tag":204,"props":1968,"children":1970},{"className":1969},[],[1971],{"type":179,"value":1972},"/blog/hello",{"type":173,"tag":1208,"props":1974,"children":1975},{},[1976,1985],{"type":173,"tag":1236,"props":1977,"children":1978},{},[1979],{"type":173,"tag":204,"props":1980,"children":1982},{"className":1981},[],[1983],{"type":179,"value":1984},"content/1.guide/2.installation",{"type":173,"tag":1236,"props":1986,"children":1987},{"align":1882},[1988],{"type":173,"tag":204,"props":1989,"children":1991},{"className":1990},[],[1992],{"type":179,"value":1993},"/guide/installation",{"type":173,"tag":372,"props":1995,"children":1996},{},[1997,1999,2005,2007,2012,2014,2020],{"type":179,"value":1998},"The module creates REST ",{"type":173,"tag":204,"props":2000,"children":2002},{"className":2001},[],[2003],{"type":179,"value":2004},"GET",{"type":179,"value":2006}," endpoints for every document in the ",{"type":173,"tag":204,"props":2008,"children":2010},{"className":2009},[],[2011],{"type":179,"value":771},{"type":179,"value":2013}," directory reachable with the ",{"type":173,"tag":204,"props":2015,"children":2017},{"className":2016},[],[2018],{"type":179,"value":2019},"/api/_content/query",{"type":179,"value":2021}," route.",{"type":173,"tag":372,"props":2023,"children":2024},{},[2025,2027,2035],{"type":179,"value":2026},"Components and pages can query contents using ",{"type":173,"tag":242,"props":2028,"children":2029},{"href":51},[2030],{"type":173,"tag":204,"props":2031,"children":2033},{"className":2032},[],[2034],{"type":179,"value":50},{"type":179,"value":384},{"type":173,"tag":174,"props":2037,"children":2039},{"id":2038},"ordering",[2040],{"type":179,"value":2041},"Ordering",{"type":173,"tag":372,"props":2043,"children":2044},{},[2045,2047,2052],{"type":179,"value":2046},"Add numeric prefixes to files and directories inside the ",{"type":173,"tag":204,"props":2048,"children":2050},{"className":2049},[],[2051],{"type":179,"value":771},{"type":179,"value":2053}," directory to specify an order.\nNuxt Content uses these numbers to order content lists.",{"type":173,"tag":252,"props":2055,"children":2058},{"code":2056,"filename":2057,"meta":167},"content/\n  1.frameworks/\n    1.vue.md\n    2.nuxt.md\n  2.examples/\n    1.vercel.md\n    2.netlify.md\n    3.heroku.md\n    index.md\n","Directory structure",[2059],{"type":173,"tag":204,"props":2060,"children":2061},{"__ignoreMap":167},[2062],{"type":179,"value":2056},{"type":173,"tag":1521,"props":2064,"children":2065},{"type":1523},[2066],{"type":173,"tag":372,"props":2067,"children":2068},{},[2069,2071,2076],{"type":179,"value":2070},"Separate number from file name using ",{"type":173,"tag":204,"props":2072,"children":2074},{"className":2073},[],[2075],{"type":179,"value":384},{"type":179,"value":2077}," character. Using any other separator will not work.",{"type":173,"tag":174,"props":2079,"children":2081},{"id":2080},"ignoring",[2082],{"type":179,"value":2083},"Ignoring",{"type":173,"tag":372,"props":2085,"children":2086},{},[2087,2089,2094],{"type":179,"value":2088},"Content module will ignore files and folders starting with a ",{"type":173,"tag":204,"props":2090,"children":2092},{"className":2091},[],[2093],{"type":179,"value":384},{"type":179,"value":384},{"type":173,"tag":252,"props":2096,"children":2098},{"code":2097,"filename":2057,"meta":167},"content/\n  1.frameworks/\n    .1.vue.md              // Ignored content\n    2.nuxt.md\n  .2.translation/          // Ignored directory\n    1.fa/\n      1.messages.md        // Ignored content because of its grand parent\n    2.fr/\n      1.messages.md        // Ignored content because of its grand parent\n",[2099],{"type":173,"tag":204,"props":2100,"children":2101},{"__ignoreMap":167},[2102],{"type":179,"value":2097},{"type":173,"tag":174,"props":2104,"children":2106},{"id":2105},"partials",[2107],{"type":179,"value":2108},"Partials",{"type":173,"tag":372,"props":2110,"children":2111},{},[2112,2114,2120],{"type":179,"value":2113},"Adding ",{"type":173,"tag":204,"props":2115,"children":2117},{"className":2116},[],[2118],{"type":179,"value":2119},"_",{"type":179,"value":2121}," prefix to files will mark them as partial contents.",{"type":173,"tag":372,"props":2123,"children":2124},{},[2125],{"type":179,"value":2126},"Partial contents are accessible in search and content lists but are not displayed in content navigation.",{"type":173,"tag":252,"props":2128,"children":2130},{"code":2129,"filename":2057,"meta":167},"content/\n  1.frameworks/\n    _1.vue.md              // Partial content\n    2.nuxt.md\n  _2.translation/          // Partial directory\n    1.fa/\n      1.messages.md        // Partial content because of its grand parent\n    2.fr/\n      1.messages.md        // Partial content because of its grand parent\n",[2131],{"type":173,"tag":204,"props":2132,"children":2133},{"__ignoreMap":167},[2134],{"type":179,"value":2129},{"type":173,"tag":1521,"props":2136,"children":2137},{"type":1523},[2138],{"type":173,"tag":372,"props":2139,"children":2140},{},[2141,2143,2148],{"type":179,"value":2142},"Starting a directory name with ",{"type":173,"tag":204,"props":2144,"children":2146},{"className":2145},[],[2147],{"type":179,"value":2119},{"type":179,"value":2149}," will mark its entire nested content as partial.",{"type":173,"tag":372,"props":2151,"children":2152},{},[2153,2155,2161],{"type":179,"value":2154},"You can query partials by using ",{"type":173,"tag":204,"props":2156,"children":2158},{"className":2157},[],[2159],{"type":179,"value":2160},"queryContent().where({ _partial: true })",{"type":179,"value":384},{"title":167,"searchDepth":281,"depth":281,"links":2163},[2164,2165,2166,2167],{"id":1857,"depth":281,"text":1860},{"id":2038,"depth":281,"text":2041},{"id":2080,"depth":281,"text":2083},{"id":2105,"depth":281,"text":2108},"content:2.usage:1.content-directory.md","2.usage/1.content-directory.md","2.usage/1.content-directory",1725981874435]