[{"data":1,"prerenderedAt":2172},["ShallowReactive",2],{"navigation":3,"docs-/get-started/from-v1":164,"docs-/get-started/from-v1-surround":1557},[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":1552,"_id":1553,"_source":1554,"_file":1555,"_extension":1556},"get-started",false,"","Learn how to upgrade from Nuxt Content V1 to Nuxt Content V2 with Nuxt 3.",{"type":170,"children":171,"toc":1543},"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,1201,1516,1522,1537],{"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":179,"value":1200},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":173,"tag":1202,"props":1203,"children":1204},"table",{},[1205,1230],{"type":173,"tag":1206,"props":1207,"children":1208},"thead",{},[1209],{"type":173,"tag":1210,"props":1211,"children":1212},"tr",{},[1213,1219,1225],{"type":173,"tag":1214,"props":1215,"children":1216},"th",{},[1217],{"type":179,"value":1218},"Feature / Version",{"type":173,"tag":1214,"props":1220,"children":1222},{"align":1221},"center",[1223],{"type":179,"value":1224},"Content v1",{"type":173,"tag":1214,"props":1226,"children":1227},{"align":1221},[1228],{"type":179,"value":1229},"Content v2",{"type":173,"tag":1231,"props":1232,"children":1233},"tbody",{},[1234,1261,1358,1376,1392,1412,1432,1452,1468,1484,1500],{"type":173,"tag":1210,"props":1235,"children":1236},{},[1237,1243,1252],{"type":173,"tag":1238,"props":1239,"children":1240},"td",{},[1241],{"type":179,"value":1242},"Nuxt Version",{"type":173,"tag":1238,"props":1244,"children":1245},{"align":1221},[1246],{"type":173,"tag":204,"props":1247,"children":1249},{"className":1248},[],[1250],{"type":179,"value":1251},"nuxt@2.x",{"type":173,"tag":1238,"props":1253,"children":1254},{"align":1221},[1255],{"type":173,"tag":204,"props":1256,"children":1258},{"className":1257},[],[1259],{"type":179,"value":1260},"nuxt@3.x",{"type":173,"tag":1210,"props":1262,"children":1263},{},[1264,1269,1320],{"type":173,"tag":1238,"props":1265,"children":1266},{},[1267],{"type":179,"value":1268},"Supported files",{"type":173,"tag":1238,"props":1270,"children":1271},{"align":1221},[1272,1278,1279,1285,1286,1292,1293,1299,1300,1306,1307,1313,1314],{"type":173,"tag":204,"props":1273,"children":1275},{"className":1274},[],[1276],{"type":179,"value":1277},".md",{"type":179,"value":219},{"type":173,"tag":204,"props":1280,"children":1282},{"className":1281},[],[1283],{"type":179,"value":1284},".yaml",{"type":179,"value":219},{"type":173,"tag":204,"props":1287,"children":1289},{"className":1288},[],[1290],{"type":179,"value":1291},".yml",{"type":179,"value":219},{"type":173,"tag":204,"props":1294,"children":1296},{"className":1295},[],[1297],{"type":179,"value":1298},".csv",{"type":179,"value":219},{"type":173,"tag":204,"props":1301,"children":1303},{"className":1302},[],[1304],{"type":179,"value":1305},".json",{"type":179,"value":219},{"type":173,"tag":204,"props":1308,"children":1310},{"className":1309},[],[1311],{"type":179,"value":1312},".json5",{"type":179,"value":219},{"type":173,"tag":204,"props":1315,"children":1317},{"className":1316},[],[1318],{"type":179,"value":1319},".xml",{"type":173,"tag":1238,"props":1321,"children":1322},{"align":1221},[1323,1328,1329,1334,1335,1340,1341,1346,1347,1352,1353],{"type":173,"tag":204,"props":1324,"children":1326},{"className":1325},[],[1327],{"type":179,"value":1277},{"type":179,"value":219},{"type":173,"tag":204,"props":1330,"children":1332},{"className":1331},[],[1333],{"type":179,"value":1284},{"type":179,"value":219},{"type":173,"tag":204,"props":1336,"children":1338},{"className":1337},[],[1339],{"type":179,"value":1291},{"type":179,"value":219},{"type":173,"tag":204,"props":1342,"children":1344},{"className":1343},[],[1345],{"type":179,"value":1298},{"type":179,"value":219},{"type":173,"tag":204,"props":1348,"children":1350},{"className":1349},[],[1351],{"type":179,"value":1305},{"type":179,"value":219},{"type":173,"tag":204,"props":1354,"children":1356},{"className":1355},[],[1357],{"type":179,"value":1312},{"type":173,"tag":1210,"props":1359,"children":1360},{},[1361,1366,1371],{"type":173,"tag":1238,"props":1362,"children":1363},{},[1364],{"type":179,"value":1365},"Full text search",{"type":173,"tag":1238,"props":1367,"children":1368},{"align":1221},[1369],{"type":179,"value":1370},"✅",{"type":173,"tag":1238,"props":1372,"children":1373},{"align":1221},[1374],{"type":179,"value":1375},"❌",{"type":173,"tag":1210,"props":1377,"children":1378},{},[1379,1384,1388],{"type":173,"tag":1238,"props":1380,"children":1381},{},[1382],{"type":179,"value":1383},"Reactive Composables",{"type":173,"tag":1238,"props":1385,"children":1386},{"align":1221},[1387],{"type":179,"value":1375},{"type":173,"tag":1238,"props":1389,"children":1390},{"align":1221},[1391],{"type":179,"value":1370},{"type":173,"tag":1210,"props":1393,"children":1394},{},[1395,1404,1408],{"type":173,"tag":1238,"props":1396,"children":1397},{},[1398],{"type":173,"tag":242,"props":1399,"children":1401},{"href":1400},"/usage/markdown#front-matter",[1402],{"type":179,"value":1403},"FrontMatter",{"type":173,"tag":1238,"props":1405,"children":1406},{"align":1221},[1407],{"type":179,"value":1370},{"type":173,"tag":1238,"props":1409,"children":1410},{"align":1221},[1411],{"type":179,"value":1370},{"type":173,"tag":1210,"props":1413,"children":1414},{},[1415,1424,1428],{"type":173,"tag":1238,"props":1416,"children":1417},{},[1418],{"type":173,"tag":242,"props":1419,"children":1421},{"href":1420},"/v1/getting-started/writing#excerpt",[1422],{"type":179,"value":1423},"Excerpt",{"type":173,"tag":1238,"props":1425,"children":1426},{"align":1221},[1427],{"type":179,"value":1370},{"type":173,"tag":1238,"props":1429,"children":1430},{"align":1221},[1431],{"type":179,"value":1370},{"type":173,"tag":1210,"props":1433,"children":1434},{},[1435,1444,1448],{"type":173,"tag":1238,"props":1436,"children":1437},{},[1438],{"type":173,"tag":242,"props":1439,"children":1441},{"href":1440},"/v1/getting-started/writing#table-of-contents",[1442],{"type":179,"value":1443},"Table Of Contents",{"type":173,"tag":1238,"props":1445,"children":1446},{"align":1221},[1447],{"type":179,"value":1370},{"type":173,"tag":1238,"props":1449,"children":1450},{"align":1221},[1451],{"type":179,"value":1370},{"type":173,"tag":1210,"props":1453,"children":1454},{},[1455,1460,1464],{"type":173,"tag":1238,"props":1456,"children":1457},{},[1458],{"type":179,"value":1459},"MDC Components syntax",{"type":173,"tag":1238,"props":1461,"children":1462},{"align":1221},[1463],{"type":179,"value":1375},{"type":173,"tag":1238,"props":1465,"children":1466},{"align":1221},[1467],{"type":179,"value":1370},{"type":173,"tag":1210,"props":1469,"children":1470},{},[1471,1476,1480],{"type":173,"tag":1238,"props":1472,"children":1473},{},[1474],{"type":179,"value":1475},"Multi Source",{"type":173,"tag":1238,"props":1477,"children":1478},{"align":1221},[1479],{"type":179,"value":1375},{"type":173,"tag":1238,"props":1481,"children":1482},{"align":1221},[1483],{"type":179,"value":1370},{"type":173,"tag":1210,"props":1485,"children":1486},{},[1487,1492,1496],{"type":173,"tag":1238,"props":1488,"children":1489},{},[1490],{"type":179,"value":1491},"Locale Support",{"type":173,"tag":1238,"props":1493,"children":1494},{"align":1221},[1495],{"type":179,"value":1375},{"type":173,"tag":1238,"props":1497,"children":1498},{"align":1221},[1499],{"type":179,"value":1370},{"type":173,"tag":1210,"props":1501,"children":1502},{},[1503,1508,1512],{"type":173,"tag":1238,"props":1504,"children":1505},{},[1506],{"type":179,"value":1507},"Content Navigation",{"type":173,"tag":1238,"props":1509,"children":1510},{"align":1221},[1511],{"type":179,"value":1375},{"type":173,"tag":1238,"props":1513,"children":1514},{"align":1221},[1515],{"type":179,"value":1370},{"type":173,"tag":174,"props":1517,"children":1519},{"id":1518},"querying-content",[1520],{"type":179,"value":1521},"Querying content",{"type":173,"tag":1523,"props":1524,"children":1526},"callout",{"type":1525},"info",[1527],{"type":173,"tag":372,"props":1528,"children":1529},{},[1530,1532],{"type":179,"value":1531},"Learn more about query methods in the ",{"type":173,"tag":242,"props":1533,"children":1534},{"href":51},[1535],{"type":179,"value":1536},"API reference",{"type":173,"tag":1538,"props":1539,"children":1540},"style",{},[1541],{"type":179,"value":1542},"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":1544},[1545,1546,1547,1548,1549,1550,1551],{"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":1518,"depth":281,"text":1521},"markdown","content:1.get-started:5.from-v1.md","content","1.get-started/5.from-v1.md","md",[1558,1850],{"_path":16,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":15,"description":1559,"body":1560,"_type":1552,"_id":1848,"_source":1554,"_file":1849,"_extension":1556},"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":1561,"toc":1844},[1562,1569,1598,1603,1617,1625,1631,1652,1715,1739,1745,1761,1818,1840],{"type":173,"tag":1563,"props":1564,"children":1566},"h1",{"id":1565},"automated-release",[1567],{"type":179,"value":1568},"Automated release",{"type":173,"tag":372,"props":1570,"children":1571},{},[1572,1574,1580,1582,1588,1590,1596],{"type":179,"value":1573},"After each commit is merged into the ",{"type":173,"tag":204,"props":1575,"children":1577},{"className":1576},[],[1578],{"type":179,"value":1579},"main",{"type":179,"value":1581}," branch of @nuxt/content and ",{"type":173,"tag":1583,"props":1584,"children":1585},"strong",{},[1586],{"type":179,"value":1587},"passing all tests",{"type":179,"value":1589},", we trigger an automated npm release using Github Actions publishing a ",{"type":173,"tag":204,"props":1591,"children":1593},{"className":1592},[],[1594],{"type":179,"value":1595},"@nuxt/content-edge",{"type":179,"value":1597}," package.",{"type":173,"tag":372,"props":1599,"children":1600},{},[1601],{"type":179,"value":1602},"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":1604,"children":1605},{},[1606,1608,1615],{"type":179,"value":1607},"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":1609,"children":1612},{"href":1610,"rel":1611},"https://github.com/nuxt/content",[246],[1613],{"type":179,"value":1614},"GitHub repository",{"type":179,"value":1616}," 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":1523,"props":1618,"children":1619},{"type":1525},[1620],{"type":173,"tag":372,"props":1621,"children":1622},{},[1623],{"type":179,"value":1624},"Features only available on the edge channel are marked with an alert in the documentation.",{"type":173,"tag":174,"props":1626,"children":1628},{"id":1627},"opting-into-the-edge-channel",[1629],{"type":179,"value":1630},"Opting into the edge channel",{"type":173,"tag":372,"props":1632,"children":1633},{},[1634,1636,1642,1644,1650],{"type":179,"value":1635},"Update ",{"type":173,"tag":204,"props":1637,"children":1639},{"className":1638},[],[1640],{"type":179,"value":1641},"@nuxt/content",{"type":179,"value":1643}," dependency inside ",{"type":173,"tag":204,"props":1645,"children":1647},{"className":1646},[],[1648],{"type":179,"value":1649},"package.json",{"type":179,"value":1651},":",{"type":173,"tag":252,"props":1653,"children":1655},{"className":254,"code":1654,"filename":1649,"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",[1656],{"type":173,"tag":204,"props":1657,"children":1658},{"__ignoreMap":167},[1659,1667,1675,1687,1699,1707],{"type":173,"tag":262,"props":1660,"children":1661},{"class":264,"line":265},[1662],{"type":173,"tag":262,"props":1663,"children":1664},{"style":594},[1665],{"type":179,"value":1666},"{\n",{"type":173,"tag":262,"props":1668,"children":1669},{"class":264,"line":281},[1670],{"type":173,"tag":262,"props":1671,"children":1672},{"style":594},[1673],{"type":179,"value":1674},"  \"devDependencies\": {\n",{"type":173,"tag":262,"props":1676,"children":1677},{"class":264,"line":296},[1678,1682],{"type":173,"tag":262,"props":1679,"children":1680},{"style":269},[1681],{"type":179,"value":272},{"type":173,"tag":262,"props":1683,"children":1684},{"style":275},[1685],{"type":179,"value":1686},"   \"@nuxt/content\": \"^2.0.0\"\n",{"type":173,"tag":262,"props":1688,"children":1689},{"class":264,"line":670},[1690,1694],{"type":173,"tag":262,"props":1691,"children":1692},{"style":269},[1693],{"type":179,"value":287},{"type":173,"tag":262,"props":1695,"children":1696},{"style":290},[1697],{"type":179,"value":1698},"   \"@nuxt/content\": \"npm:@nuxt/content-edge@latest\"\n",{"type":173,"tag":262,"props":1700,"children":1701},{"class":264,"line":999},[1702],{"type":173,"tag":262,"props":1703,"children":1704},{"style":594},[1705],{"type":179,"value":1706},"  }\n",{"type":173,"tag":262,"props":1708,"children":1709},{"class":264,"line":1016},[1710],{"type":173,"tag":262,"props":1711,"children":1712},{"style":594},[1713],{"type":179,"value":1714},"}\n",{"type":173,"tag":372,"props":1716,"children":1717},{},[1718,1720,1725,1726,1731,1732,1737],{"type":179,"value":1719},"Remove lockfile (",{"type":173,"tag":204,"props":1721,"children":1723},{"className":1722},[],[1724],{"type":179,"value":217},{"type":179,"value":219},{"type":173,"tag":204,"props":1727,"children":1729},{"className":1728},[],[1730],{"type":179,"value":225},{"type":179,"value":227},{"type":173,"tag":204,"props":1733,"children":1735},{"className":1734},[],[1736],{"type":179,"value":233},{"type":179,"value":1738},") and reinstall dependencies.",{"type":173,"tag":174,"props":1740,"children":1742},{"id":1741},"opting-out-from-the-edge-channel",[1743],{"type":179,"value":1744},"Opting out from the edge channel",{"type":173,"tag":372,"props":1746,"children":1747},{},[1748,1749,1754,1755,1760],{"type":179,"value":1635},{"type":173,"tag":204,"props":1750,"children":1752},{"className":1751},[],[1753],{"type":179,"value":1641},{"type":179,"value":1643},{"type":173,"tag":204,"props":1756,"children":1758},{"className":1757},[],[1759],{"type":179,"value":1649},{"type":179,"value":1651},{"type":173,"tag":252,"props":1762,"children":1764},{"className":254,"code":1763,"filename":1649,"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",[1765],{"type":173,"tag":204,"props":1766,"children":1767},{"__ignoreMap":167},[1768,1775,1782,1793,1804,1811],{"type":173,"tag":262,"props":1769,"children":1770},{"class":264,"line":265},[1771],{"type":173,"tag":262,"props":1772,"children":1773},{"style":594},[1774],{"type":179,"value":1666},{"type":173,"tag":262,"props":1776,"children":1777},{"class":264,"line":281},[1778],{"type":173,"tag":262,"props":1779,"children":1780},{"style":594},[1781],{"type":179,"value":1674},{"type":173,"tag":262,"props":1783,"children":1784},{"class":264,"line":296},[1785,1789],{"type":173,"tag":262,"props":1786,"children":1787},{"style":269},[1788],{"type":179,"value":272},{"type":173,"tag":262,"props":1790,"children":1791},{"style":275},[1792],{"type":179,"value":1698},{"type":173,"tag":262,"props":1794,"children":1795},{"class":264,"line":670},[1796,1800],{"type":173,"tag":262,"props":1797,"children":1798},{"style":269},[1799],{"type":179,"value":287},{"type":173,"tag":262,"props":1801,"children":1802},{"style":290},[1803],{"type":179,"value":1686},{"type":173,"tag":262,"props":1805,"children":1806},{"class":264,"line":999},[1807],{"type":173,"tag":262,"props":1808,"children":1809},{"style":594},[1810],{"type":179,"value":1706},{"type":173,"tag":262,"props":1812,"children":1813},{"class":264,"line":1016},[1814],{"type":173,"tag":262,"props":1815,"children":1816},{"style":594},[1817],{"type":179,"value":1714},{"type":173,"tag":372,"props":1819,"children":1820},{},[1821,1822,1827,1828,1833,1834,1839],{"type":179,"value":1719},{"type":173,"tag":204,"props":1823,"children":1825},{"className":1824},[],[1826],{"type":179,"value":217},{"type":179,"value":219},{"type":173,"tag":204,"props":1829,"children":1831},{"className":1830},[],[1832],{"type":179,"value":225},{"type":179,"value":227},{"type":173,"tag":204,"props":1835,"children":1837},{"className":1836},[],[1838],{"type":179,"value":233},{"type":179,"value":1738},{"type":173,"tag":1538,"props":1841,"children":1842},{},[1843],{"type":179,"value":1542},{"title":167,"searchDepth":281,"depth":281,"links":1845},[1846,1847],{"id":1627,"depth":281,"text":1630},{"id":1741,"depth":281,"text":1744},"content:1.get-started:4.edge-channel.md","1.get-started/4.edge-channel.md",{"_path":26,"_dir":1851,"_draft":166,"_partial":166,"_locale":167,"title":25,"description":1852,"body":1853,"_type":1552,"_id":2170,"_source":1554,"_file":2171,"_extension":1556},"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":2164},[1855,1861,1866,1868,1996,2024,2038,2044,2056,2065,2080,2086,2097,2105,2111,2124,2129,2137,2152],{"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":179,"value":1867},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":173,"tag":1202,"props":1869,"children":1870},{},[1871,1888],{"type":173,"tag":1206,"props":1872,"children":1873},{},[1874],{"type":173,"tag":1210,"props":1875,"children":1876},{},[1877,1882],{"type":173,"tag":1214,"props":1878,"children":1879},{},[1880],{"type":179,"value":1881},"File",{"type":173,"tag":1214,"props":1883,"children":1885},{"align":1884},"left",[1886],{"type":179,"value":1887},"Internal path",{"type":173,"tag":1231,"props":1889,"children":1890},{},[1891,1912,1933,1954,1975],{"type":173,"tag":1210,"props":1892,"children":1893},{},[1894,1903],{"type":173,"tag":1238,"props":1895,"children":1896},{},[1897],{"type":173,"tag":204,"props":1898,"children":1900},{"className":1899},[],[1901],{"type":179,"value":1902},"content/index.md",{"type":173,"tag":1238,"props":1904,"children":1905},{"align":1884},[1906],{"type":173,"tag":204,"props":1907,"children":1909},{"className":1908},[],[1910],{"type":179,"value":1911},"/",{"type":173,"tag":1210,"props":1913,"children":1914},{},[1915,1924],{"type":173,"tag":1238,"props":1916,"children":1917},{},[1918],{"type":173,"tag":204,"props":1919,"children":1921},{"className":1920},[],[1922],{"type":179,"value":1923},"content/about.md",{"type":173,"tag":1238,"props":1925,"children":1926},{"align":1884},[1927],{"type":173,"tag":204,"props":1928,"children":1930},{"className":1929},[],[1931],{"type":179,"value":1932},"/about",{"type":173,"tag":1210,"props":1934,"children":1935},{},[1936,1945],{"type":173,"tag":1238,"props":1937,"children":1938},{},[1939],{"type":173,"tag":204,"props":1940,"children":1942},{"className":1941},[],[1943],{"type":179,"value":1944},"content/blog/index.md",{"type":173,"tag":1238,"props":1946,"children":1947},{"align":1884},[1948],{"type":173,"tag":204,"props":1949,"children":1951},{"className":1950},[],[1952],{"type":179,"value":1953},"/blog",{"type":173,"tag":1210,"props":1955,"children":1956},{},[1957,1966],{"type":173,"tag":1238,"props":1958,"children":1959},{},[1960],{"type":173,"tag":204,"props":1961,"children":1963},{"className":1962},[],[1964],{"type":179,"value":1965},"content/blog/hello.md",{"type":173,"tag":1238,"props":1967,"children":1968},{"align":1884},[1969],{"type":173,"tag":204,"props":1970,"children":1972},{"className":1971},[],[1973],{"type":179,"value":1974},"/blog/hello",{"type":173,"tag":1210,"props":1976,"children":1977},{},[1978,1987],{"type":173,"tag":1238,"props":1979,"children":1980},{},[1981],{"type":173,"tag":204,"props":1982,"children":1984},{"className":1983},[],[1985],{"type":179,"value":1986},"content/1.guide/2.installation",{"type":173,"tag":1238,"props":1988,"children":1989},{"align":1884},[1990],{"type":173,"tag":204,"props":1991,"children":1993},{"className":1992},[],[1994],{"type":179,"value":1995},"/guide/installation",{"type":173,"tag":372,"props":1997,"children":1998},{},[1999,2001,2007,2009,2014,2016,2022],{"type":179,"value":2000},"The module creates REST ",{"type":173,"tag":204,"props":2002,"children":2004},{"className":2003},[],[2005],{"type":179,"value":2006},"GET",{"type":179,"value":2008}," endpoints for every document in the ",{"type":173,"tag":204,"props":2010,"children":2012},{"className":2011},[],[2013],{"type":179,"value":771},{"type":179,"value":2015}," directory reachable with the ",{"type":173,"tag":204,"props":2017,"children":2019},{"className":2018},[],[2020],{"type":179,"value":2021},"/api/_content/query",{"type":179,"value":2023}," route.",{"type":173,"tag":372,"props":2025,"children":2026},{},[2027,2029,2037],{"type":179,"value":2028},"Components and pages can query contents using ",{"type":173,"tag":242,"props":2030,"children":2031},{"href":51},[2032],{"type":173,"tag":204,"props":2033,"children":2035},{"className":2034},[],[2036],{"type":179,"value":50},{"type":179,"value":384},{"type":173,"tag":174,"props":2039,"children":2041},{"id":2040},"ordering",[2042],{"type":179,"value":2043},"Ordering",{"type":173,"tag":372,"props":2045,"children":2046},{},[2047,2049,2054],{"type":179,"value":2048},"Add numeric prefixes to files and directories inside the ",{"type":173,"tag":204,"props":2050,"children":2052},{"className":2051},[],[2053],{"type":179,"value":771},{"type":179,"value":2055}," directory to specify an order.\nNuxt Content uses these numbers to order content lists.",{"type":173,"tag":252,"props":2057,"children":2060},{"code":2058,"filename":2059,"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",[2061],{"type":173,"tag":204,"props":2062,"children":2063},{"__ignoreMap":167},[2064],{"type":179,"value":2058},{"type":173,"tag":1523,"props":2066,"children":2067},{"type":1525},[2068],{"type":173,"tag":372,"props":2069,"children":2070},{},[2071,2073,2078],{"type":179,"value":2072},"Separate number from file name using ",{"type":173,"tag":204,"props":2074,"children":2076},{"className":2075},[],[2077],{"type":179,"value":384},{"type":179,"value":2079}," character. Using any other separator will not work.",{"type":173,"tag":174,"props":2081,"children":2083},{"id":2082},"ignoring",[2084],{"type":179,"value":2085},"Ignoring",{"type":173,"tag":372,"props":2087,"children":2088},{},[2089,2091,2096],{"type":179,"value":2090},"Content module will ignore files and folders starting with a ",{"type":173,"tag":204,"props":2092,"children":2094},{"className":2093},[],[2095],{"type":179,"value":384},{"type":179,"value":384},{"type":173,"tag":252,"props":2098,"children":2100},{"code":2099,"filename":2059,"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",[2101],{"type":173,"tag":204,"props":2102,"children":2103},{"__ignoreMap":167},[2104],{"type":179,"value":2099},{"type":173,"tag":174,"props":2106,"children":2108},{"id":2107},"partials",[2109],{"type":179,"value":2110},"Partials",{"type":173,"tag":372,"props":2112,"children":2113},{},[2114,2116,2122],{"type":179,"value":2115},"Adding ",{"type":173,"tag":204,"props":2117,"children":2119},{"className":2118},[],[2120],{"type":179,"value":2121},"_",{"type":179,"value":2123}," prefix to files will mark them as partial contents.",{"type":173,"tag":372,"props":2125,"children":2126},{},[2127],{"type":179,"value":2128},"Partial contents are accessible in search and content lists but are not displayed in content navigation.",{"type":173,"tag":252,"props":2130,"children":2132},{"code":2131,"filename":2059,"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",[2133],{"type":173,"tag":204,"props":2134,"children":2135},{"__ignoreMap":167},[2136],{"type":179,"value":2131},{"type":173,"tag":1523,"props":2138,"children":2139},{"type":1525},[2140],{"type":173,"tag":372,"props":2141,"children":2142},{},[2143,2145,2150],{"type":179,"value":2144},"Starting a directory name with ",{"type":173,"tag":204,"props":2146,"children":2148},{"className":2147},[],[2149],{"type":179,"value":2121},{"type":179,"value":2151}," will mark its entire nested content as partial.",{"type":173,"tag":372,"props":2153,"children":2154},{},[2155,2157,2163],{"type":179,"value":2156},"You can query partials by using ",{"type":173,"tag":204,"props":2158,"children":2160},{"className":2159},[],[2161],{"type":179,"value":2162},"queryContent().where({ _partial: true })",{"type":179,"value":384},{"title":167,"searchDepth":281,"depth":281,"links":2165},[2166,2167,2168,2169],{"id":1857,"depth":281,"text":1860},{"id":2040,"depth":281,"text":2043},{"id":2082,"depth":281,"text":2085},{"id":2107,"depth":281,"text":2110},"content:2.usage:1.content-directory.md","2.usage/1.content-directory.md",1719304183874]