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