[{"data":1,"prerenderedAt":3263},["Reactive",2],{"navigation":3,"docs-/v1/examples/basic":164,"docs-/v1/examples/basic-surround":185},[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":147,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":146,"description":168,"toc":166,"body":169,"_type":180,"_id":181,"_source":182,"_file":183,"_extension":184},"examples",false,"","Live example of basic usage of Nuxt Content on CodeSandbox.",{"type":170,"children":171},"root",[172],{"type":173,"tag":174,"props":175,"children":179},"element","iframe",{":src":176,"height":177,"width":178},"https://codesandbox.io/embed/nuxt-content-playground-l164h?hidenavigation=1&theme=dark","500px","100%",[],"markdown","content:7.v1:2.examples:1.basic.md","content","7.v1/2.examples/1.basic.md","md",[186,3251],{"_path":140,"_dir":187,"_draft":166,"_partial":166,"_locale":167,"title":139,"description":188,"body":189,"_type":180,"_id":3249,"_source":182,"_file":3250,"_extension":184},"getting-started","Learn advanced usage of @nuxt/content module.",{"type":170,"children":190,"toc":3237},[191,199,219,243,564,571,583,601,620,632,640,1021,1035,1040,1045,1054,1059,1064,1130,1137,1156,1372,1381,1386,1390,1466,1473,1500,1512,1812,1819,1837,2171,2180,2185,2189,2228,2235,2422,2428,2451,2469,2748,2758,2827,2852,2858,2886,2893,2986,2997,3084,3109,3128,3140,3148,3169,3177,3193,3207,3215,3231],{"type":173,"tag":192,"props":193,"children":195},"h2",{"id":194},"programmatic-usage",[196],{"type":197,"value":198},"text","Programmatic Usage",{"type":173,"tag":200,"props":201,"children":202},"p",{},[203,209,211,217],{"type":173,"tag":204,"props":205,"children":206},"code",{"className":167},[207],{"type":197,"value":208},"$content",{"type":197,"value":210}," is accessible from ",{"type":173,"tag":212,"props":213,"children":214},"strong",{},[215],{"type":197,"value":216},"@nuxt/content",{"type":197,"value":218},".",{"type":173,"tag":220,"props":221,"children":223},"alert",{"type":222},"warning",[224],{"type":173,"tag":200,"props":225,"children":226},{},[227,229,234,236,241],{"type":197,"value":228},"Beware that you can access it only ",{"type":173,"tag":212,"props":230,"children":231},{},[232],{"type":197,"value":233},"after the module has been loaded",{"type":197,"value":235}," by Nuxt. ",{"type":173,"tag":204,"props":237,"children":238},{"className":167},[239],{"type":197,"value":240},"require('@nuxt/content')",{"type":197,"value":242}," should happen in hooks or internal Nuxt methods.",{"type":173,"tag":244,"props":245,"children":249},"pre",{"className":246,"code":247,"language":248,"meta":167,"style":167},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default {\n  modules: [\n    '@nuxt/content'\n  ],\n  generate: {\n    async ready () {\n      const { $content } = require('@nuxt/content')\n      const files = await $content().only(['slug']).fetch()\n      console.log(files)\n    }\n  }\n}\n","js",[250],{"type":173,"tag":204,"props":251,"children":252},{"__ignoreMap":167},[253,276,297,316,330,347,371,429,506,537,546,555],{"type":173,"tag":254,"props":255,"children":258},"span",{"class":256,"line":257},"line",1,[259,265,270],{"type":173,"tag":254,"props":260,"children":262},{"style":261},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[263],{"type":197,"value":264},"export",{"type":173,"tag":254,"props":266,"children":267},{"style":261},[268],{"type":197,"value":269}," default",{"type":173,"tag":254,"props":271,"children":273},{"style":272},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[274],{"type":197,"value":275}," {\n",{"type":173,"tag":254,"props":277,"children":279},{"class":256,"line":278},2,[280,286,291],{"type":173,"tag":254,"props":281,"children":283},{"style":282},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[284],{"type":197,"value":285},"  modules",{"type":173,"tag":254,"props":287,"children":288},{"style":272},[289],{"type":197,"value":290},":",{"type":173,"tag":254,"props":292,"children":294},{"style":293},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[295],{"type":197,"value":296}," [\n",{"type":173,"tag":254,"props":298,"children":300},{"class":256,"line":299},3,[301,306,311],{"type":173,"tag":254,"props":302,"children":303},{"style":272},[304],{"type":197,"value":305},"    '",{"type":173,"tag":254,"props":307,"children":309},{"style":308},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[310],{"type":197,"value":216},{"type":173,"tag":254,"props":312,"children":313},{"style":272},[314],{"type":197,"value":315},"'\n",{"type":173,"tag":254,"props":317,"children":319},{"class":256,"line":318},4,[320,325],{"type":173,"tag":254,"props":321,"children":322},{"style":293},[323],{"type":197,"value":324},"  ]",{"type":173,"tag":254,"props":326,"children":327},{"style":272},[328],{"type":197,"value":329},",\n",{"type":173,"tag":254,"props":331,"children":333},{"class":256,"line":332},5,[334,339,343],{"type":173,"tag":254,"props":335,"children":336},{"style":282},[337],{"type":197,"value":338},"  generate",{"type":173,"tag":254,"props":340,"children":341},{"style":272},[342],{"type":197,"value":290},{"type":173,"tag":254,"props":344,"children":345},{"style":272},[346],{"type":197,"value":275},{"type":173,"tag":254,"props":348,"children":350},{"class":256,"line":349},6,[351,357,362,367],{"type":173,"tag":254,"props":352,"children":354},{"style":353},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[355],{"type":197,"value":356},"    async",{"type":173,"tag":254,"props":358,"children":359},{"style":282},[360],{"type":197,"value":361}," ready",{"type":173,"tag":254,"props":363,"children":364},{"style":272},[365],{"type":197,"value":366}," ()",{"type":173,"tag":254,"props":368,"children":369},{"style":272},[370],{"type":197,"value":275},{"type":173,"tag":254,"props":372,"children":374},{"class":256,"line":373},7,[375,380,385,390,395,400,406,411,416,420,424],{"type":173,"tag":254,"props":376,"children":377},{"style":353},[378],{"type":197,"value":379},"      const",{"type":173,"tag":254,"props":381,"children":382},{"style":272},[383],{"type":197,"value":384}," {",{"type":173,"tag":254,"props":386,"children":387},{"style":293},[388],{"type":197,"value":389}," $content",{"type":173,"tag":254,"props":391,"children":392},{"style":272},[393],{"type":197,"value":394}," }",{"type":173,"tag":254,"props":396,"children":397},{"style":272},[398],{"type":197,"value":399}," =",{"type":173,"tag":254,"props":401,"children":403},{"style":402},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[404],{"type":197,"value":405}," require",{"type":173,"tag":254,"props":407,"children":408},{"style":282},[409],{"type":197,"value":410},"(",{"type":173,"tag":254,"props":412,"children":413},{"style":272},[414],{"type":197,"value":415},"'",{"type":173,"tag":254,"props":417,"children":418},{"style":308},[419],{"type":197,"value":216},{"type":173,"tag":254,"props":421,"children":422},{"style":272},[423],{"type":197,"value":415},{"type":173,"tag":254,"props":425,"children":426},{"style":282},[427],{"type":197,"value":428},")\n",{"type":173,"tag":254,"props":430,"children":432},{"class":256,"line":431},8,[433,437,442,446,451,455,460,464,469,474,478,483,487,492,496,501],{"type":173,"tag":254,"props":434,"children":435},{"style":353},[436],{"type":197,"value":379},{"type":173,"tag":254,"props":438,"children":439},{"style":293},[440],{"type":197,"value":441}," files",{"type":173,"tag":254,"props":443,"children":444},{"style":272},[445],{"type":197,"value":399},{"type":173,"tag":254,"props":447,"children":448},{"style":261},[449],{"type":197,"value":450}," await",{"type":173,"tag":254,"props":452,"children":453},{"style":402},[454],{"type":197,"value":389},{"type":173,"tag":254,"props":456,"children":457},{"style":282},[458],{"type":197,"value":459},"()",{"type":173,"tag":254,"props":461,"children":462},{"style":272},[463],{"type":197,"value":218},{"type":173,"tag":254,"props":465,"children":466},{"style":402},[467],{"type":197,"value":468},"only",{"type":173,"tag":254,"props":470,"children":471},{"style":282},[472],{"type":197,"value":473},"([",{"type":173,"tag":254,"props":475,"children":476},{"style":272},[477],{"type":197,"value":415},{"type":173,"tag":254,"props":479,"children":480},{"style":308},[481],{"type":197,"value":482},"slug",{"type":173,"tag":254,"props":484,"children":485},{"style":272},[486],{"type":197,"value":415},{"type":173,"tag":254,"props":488,"children":489},{"style":282},[490],{"type":197,"value":491},"])",{"type":173,"tag":254,"props":493,"children":494},{"style":272},[495],{"type":197,"value":218},{"type":173,"tag":254,"props":497,"children":498},{"style":402},[499],{"type":197,"value":500},"fetch",{"type":173,"tag":254,"props":502,"children":503},{"style":282},[504],{"type":197,"value":505},"()\n",{"type":173,"tag":254,"props":507,"children":509},{"class":256,"line":508},9,[510,515,519,524,528,533],{"type":173,"tag":254,"props":511,"children":512},{"style":293},[513],{"type":197,"value":514},"      console",{"type":173,"tag":254,"props":516,"children":517},{"style":272},[518],{"type":197,"value":218},{"type":173,"tag":254,"props":520,"children":521},{"style":402},[522],{"type":197,"value":523},"log",{"type":173,"tag":254,"props":525,"children":526},{"style":282},[527],{"type":197,"value":410},{"type":173,"tag":254,"props":529,"children":530},{"style":293},[531],{"type":197,"value":532},"files",{"type":173,"tag":254,"props":534,"children":535},{"style":282},[536],{"type":197,"value":428},{"type":173,"tag":254,"props":538,"children":540},{"class":256,"line":539},10,[541],{"type":173,"tag":254,"props":542,"children":543},{"style":272},[544],{"type":197,"value":545},"    }\n",{"type":173,"tag":254,"props":547,"children":549},{"class":256,"line":548},11,[550],{"type":173,"tag":254,"props":551,"children":552},{"style":272},[553],{"type":197,"value":554},"  }\n",{"type":173,"tag":254,"props":556,"children":558},{"class":256,"line":557},12,[559],{"type":173,"tag":254,"props":560,"children":561},{"style":272},[562],{"type":197,"value":563},"}\n",{"type":173,"tag":565,"props":566,"children":568},"h3",{"id":567},"static-site-generation",[569],{"type":197,"value":570},"Static Site Generation",{"type":173,"tag":200,"props":572,"children":573},{},[574,576,581],{"type":197,"value":575},"Since Nuxt 2.14+, ",{"type":173,"tag":204,"props":577,"children":578},{"className":167},[579],{"type":197,"value":580},"nuxt generate",{"type":197,"value":582}," has a crawler feature integrated which will crawl all your links and generate your routes based on those links. Therefore you do not need to do anything in order for your dynamic routes to be crawled.",{"type":173,"tag":200,"props":584,"children":585},{},[586,588,592,594,599],{"type":197,"value":587},"Also, ",{"type":173,"tag":204,"props":589,"children":590},{"className":167},[591],{"type":197,"value":580},{"type":197,"value":593}," will automagically skip webpack build step when no code has been changed and use the previous build using cache. The content module integrates with this feature to ignore changes inside the ",{"type":173,"tag":204,"props":595,"children":596},{"className":167},[597],{"type":197,"value":598},"content/",{"type":197,"value":600}," folder. In other terms, when changing the content of your site and deploying, the build will be skipped.",{"type":173,"tag":602,"props":603,"children":604},"blockquote",{},[605],{"type":173,"tag":200,"props":606,"children":607},{},[608,610,619],{"type":197,"value":609},"Learn more in ",{"type":173,"tag":611,"props":612,"children":616},"a",{"href":613,"rel":614},"https://nuxt.com/blog/nuxt-static-improvements",[615],"nofollow",[617],{"type":197,"value":618},"this article",{"type":197,"value":218},{"type":173,"tag":200,"props":621,"children":622},{},[623,625],{"type":197,"value":624},"When using Nuxt \u003C= 2.12, you might need to specify the dynamic routes with ",{"type":173,"tag":611,"props":626,"children":629},{"href":627,"rel":628},"https://v2.nuxt.com/docs/configuration-glossary/configuration-generate#routes",[615],[630],{"type":197,"value":631},"generate.routes",{"type":173,"tag":200,"props":633,"children":634},{},[635],{"type":173,"tag":212,"props":636,"children":637},{},[638],{"type":197,"value":639},"Example",{"type":173,"tag":244,"props":641,"children":644},{"className":246,"code":642,"filename":643,"language":248,"meta":167,"style":167},"export default {\n  modules: [\n    '@nuxt/content'\n  ],\n  generate: {\n    async routes () {\n      const { $content } = require('@nuxt/content')\n      const files = await $content({ deep: true }).only(['path']).fetch()\n\n      return files.map(file => file.path === '/index' ? '/' : file.path)\n    }\n  }\n}\n","nuxt.config.js",[645],{"type":173,"tag":204,"props":646,"children":647},{"__ignoreMap":167},[648,663,678,693,704,719,739,786,883,892,999,1006,1013],{"type":173,"tag":254,"props":649,"children":650},{"class":256,"line":257},[651,655,659],{"type":173,"tag":254,"props":652,"children":653},{"style":261},[654],{"type":197,"value":264},{"type":173,"tag":254,"props":656,"children":657},{"style":261},[658],{"type":197,"value":269},{"type":173,"tag":254,"props":660,"children":661},{"style":272},[662],{"type":197,"value":275},{"type":173,"tag":254,"props":664,"children":665},{"class":256,"line":278},[666,670,674],{"type":173,"tag":254,"props":667,"children":668},{"style":282},[669],{"type":197,"value":285},{"type":173,"tag":254,"props":671,"children":672},{"style":272},[673],{"type":197,"value":290},{"type":173,"tag":254,"props":675,"children":676},{"style":293},[677],{"type":197,"value":296},{"type":173,"tag":254,"props":679,"children":680},{"class":256,"line":299},[681,685,689],{"type":173,"tag":254,"props":682,"children":683},{"style":272},[684],{"type":197,"value":305},{"type":173,"tag":254,"props":686,"children":687},{"style":308},[688],{"type":197,"value":216},{"type":173,"tag":254,"props":690,"children":691},{"style":272},[692],{"type":197,"value":315},{"type":173,"tag":254,"props":694,"children":695},{"class":256,"line":318},[696,700],{"type":173,"tag":254,"props":697,"children":698},{"style":293},[699],{"type":197,"value":324},{"type":173,"tag":254,"props":701,"children":702},{"style":272},[703],{"type":197,"value":329},{"type":173,"tag":254,"props":705,"children":706},{"class":256,"line":332},[707,711,715],{"type":173,"tag":254,"props":708,"children":709},{"style":282},[710],{"type":197,"value":338},{"type":173,"tag":254,"props":712,"children":713},{"style":272},[714],{"type":197,"value":290},{"type":173,"tag":254,"props":716,"children":717},{"style":272},[718],{"type":197,"value":275},{"type":173,"tag":254,"props":720,"children":721},{"class":256,"line":349},[722,726,731,735],{"type":173,"tag":254,"props":723,"children":724},{"style":353},[725],{"type":197,"value":356},{"type":173,"tag":254,"props":727,"children":728},{"style":282},[729],{"type":197,"value":730}," routes",{"type":173,"tag":254,"props":732,"children":733},{"style":272},[734],{"type":197,"value":366},{"type":173,"tag":254,"props":736,"children":737},{"style":272},[738],{"type":197,"value":275},{"type":173,"tag":254,"props":740,"children":741},{"class":256,"line":373},[742,746,750,754,758,762,766,770,774,778,782],{"type":173,"tag":254,"props":743,"children":744},{"style":353},[745],{"type":197,"value":379},{"type":173,"tag":254,"props":747,"children":748},{"style":272},[749],{"type":197,"value":384},{"type":173,"tag":254,"props":751,"children":752},{"style":293},[753],{"type":197,"value":389},{"type":173,"tag":254,"props":755,"children":756},{"style":272},[757],{"type":197,"value":394},{"type":173,"tag":254,"props":759,"children":760},{"style":272},[761],{"type":197,"value":399},{"type":173,"tag":254,"props":763,"children":764},{"style":402},[765],{"type":197,"value":405},{"type":173,"tag":254,"props":767,"children":768},{"style":282},[769],{"type":197,"value":410},{"type":173,"tag":254,"props":771,"children":772},{"style":272},[773],{"type":197,"value":415},{"type":173,"tag":254,"props":775,"children":776},{"style":308},[777],{"type":197,"value":216},{"type":173,"tag":254,"props":779,"children":780},{"style":272},[781],{"type":197,"value":415},{"type":173,"tag":254,"props":783,"children":784},{"style":282},[785],{"type":197,"value":428},{"type":173,"tag":254,"props":787,"children":788},{"class":256,"line":431},[789,793,797,801,805,809,813,818,823,827,833,837,842,846,850,854,858,863,867,871,875,879],{"type":173,"tag":254,"props":790,"children":791},{"style":353},[792],{"type":197,"value":379},{"type":173,"tag":254,"props":794,"children":795},{"style":293},[796],{"type":197,"value":441},{"type":173,"tag":254,"props":798,"children":799},{"style":272},[800],{"type":197,"value":399},{"type":173,"tag":254,"props":802,"children":803},{"style":261},[804],{"type":197,"value":450},{"type":173,"tag":254,"props":806,"children":807},{"style":402},[808],{"type":197,"value":389},{"type":173,"tag":254,"props":810,"children":811},{"style":282},[812],{"type":197,"value":410},{"type":173,"tag":254,"props":814,"children":815},{"style":272},[816],{"type":197,"value":817},"{",{"type":173,"tag":254,"props":819,"children":820},{"style":282},[821],{"type":197,"value":822}," deep",{"type":173,"tag":254,"props":824,"children":825},{"style":272},[826],{"type":197,"value":290},{"type":173,"tag":254,"props":828,"children":830},{"style":829},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[831],{"type":197,"value":832}," true",{"type":173,"tag":254,"props":834,"children":835},{"style":272},[836],{"type":197,"value":394},{"type":173,"tag":254,"props":838,"children":839},{"style":282},[840],{"type":197,"value":841},")",{"type":173,"tag":254,"props":843,"children":844},{"style":272},[845],{"type":197,"value":218},{"type":173,"tag":254,"props":847,"children":848},{"style":402},[849],{"type":197,"value":468},{"type":173,"tag":254,"props":851,"children":852},{"style":282},[853],{"type":197,"value":473},{"type":173,"tag":254,"props":855,"children":856},{"style":272},[857],{"type":197,"value":415},{"type":173,"tag":254,"props":859,"children":860},{"style":308},[861],{"type":197,"value":862},"path",{"type":173,"tag":254,"props":864,"children":865},{"style":272},[866],{"type":197,"value":415},{"type":173,"tag":254,"props":868,"children":869},{"style":282},[870],{"type":197,"value":491},{"type":173,"tag":254,"props":872,"children":873},{"style":272},[874],{"type":197,"value":218},{"type":173,"tag":254,"props":876,"children":877},{"style":402},[878],{"type":197,"value":500},{"type":173,"tag":254,"props":880,"children":881},{"style":282},[882],{"type":197,"value":505},{"type":173,"tag":254,"props":884,"children":885},{"class":256,"line":508},[886],{"type":173,"tag":254,"props":887,"children":889},{"emptyLinePlaceholder":888},true,[890],{"type":197,"value":891},"\n",{"type":173,"tag":254,"props":893,"children":894},{"class":256,"line":539},[895,900,904,908,913,917,923,928,933,937,941,946,951,956,960,965,969,974,978,983,987,991,995],{"type":173,"tag":254,"props":896,"children":897},{"style":261},[898],{"type":197,"value":899},"      return",{"type":173,"tag":254,"props":901,"children":902},{"style":293},[903],{"type":197,"value":441},{"type":173,"tag":254,"props":905,"children":906},{"style":272},[907],{"type":197,"value":218},{"type":173,"tag":254,"props":909,"children":910},{"style":402},[911],{"type":197,"value":912},"map",{"type":173,"tag":254,"props":914,"children":915},{"style":282},[916],{"type":197,"value":410},{"type":173,"tag":254,"props":918,"children":920},{"style":919},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[921],{"type":197,"value":922},"file",{"type":173,"tag":254,"props":924,"children":925},{"style":353},[926],{"type":197,"value":927}," =>",{"type":173,"tag":254,"props":929,"children":930},{"style":293},[931],{"type":197,"value":932}," file",{"type":173,"tag":254,"props":934,"children":935},{"style":272},[936],{"type":197,"value":218},{"type":173,"tag":254,"props":938,"children":939},{"style":293},[940],{"type":197,"value":862},{"type":173,"tag":254,"props":942,"children":943},{"style":272},[944],{"type":197,"value":945}," ===",{"type":173,"tag":254,"props":947,"children":948},{"style":272},[949],{"type":197,"value":950}," '",{"type":173,"tag":254,"props":952,"children":953},{"style":308},[954],{"type":197,"value":955},"/index",{"type":173,"tag":254,"props":957,"children":958},{"style":272},[959],{"type":197,"value":415},{"type":173,"tag":254,"props":961,"children":962},{"style":272},[963],{"type":197,"value":964}," ?",{"type":173,"tag":254,"props":966,"children":967},{"style":272},[968],{"type":197,"value":950},{"type":173,"tag":254,"props":970,"children":971},{"style":308},[972],{"type":197,"value":973},"/",{"type":173,"tag":254,"props":975,"children":976},{"style":272},[977],{"type":197,"value":415},{"type":173,"tag":254,"props":979,"children":980},{"style":272},[981],{"type":197,"value":982}," :",{"type":173,"tag":254,"props":984,"children":985},{"style":293},[986],{"type":197,"value":932},{"type":173,"tag":254,"props":988,"children":989},{"style":272},[990],{"type":197,"value":218},{"type":173,"tag":254,"props":992,"children":993},{"style":293},[994],{"type":197,"value":862},{"type":173,"tag":254,"props":996,"children":997},{"style":282},[998],{"type":197,"value":428},{"type":173,"tag":254,"props":1000,"children":1001},{"class":256,"line":548},[1002],{"type":173,"tag":254,"props":1003,"children":1004},{"style":272},[1005],{"type":197,"value":545},{"type":173,"tag":254,"props":1007,"children":1008},{"class":256,"line":557},[1009],{"type":173,"tag":254,"props":1010,"children":1011},{"style":272},[1012],{"type":197,"value":554},{"type":173,"tag":254,"props":1014,"children":1016},{"class":256,"line":1015},13,[1017],{"type":173,"tag":254,"props":1018,"children":1019},{"style":272},[1020],{"type":197,"value":563},{"type":173,"tag":220,"props":1022,"children":1023},{"type":222},[1024],{"type":173,"tag":200,"props":1025,"children":1026},{},[1027,1029,1033],{"type":197,"value":1028},"Recommended to use Nuxt 2.14+ with ",{"type":173,"tag":204,"props":1030,"children":1031},{"className":167},[1032],{"type":197,"value":580},{"type":197,"value":1034}," because it's awesome!",{"type":173,"tag":192,"props":1036,"children":1038},{"id":1037},"hooks",[1039],{"type":197,"value":107},{"type":173,"tag":200,"props":1041,"children":1042},{},[1043],{"type":197,"value":1044},"The module adds some hooks you can use:",{"type":173,"tag":565,"props":1046,"children":1048},{"id":1047},"contentfilebeforeparse",[1049],{"type":173,"tag":204,"props":1050,"children":1051},{"className":167},[1052],{"type":197,"value":1053},"content:file:beforeParse",{"type":173,"tag":200,"props":1055,"children":1056},{},[1057],{"type":197,"value":1058},"Allows you to modify the contents of a file before it is handled by the parsers.",{"type":173,"tag":200,"props":1060,"children":1061},{},[1062],{"type":197,"value":1063},"Arguments:",{"type":173,"tag":1065,"props":1066,"children":1067},"ul",{},[1068,1076,1086],{"type":173,"tag":1069,"props":1070,"children":1071},"li",{},[1072],{"type":173,"tag":204,"props":1073,"children":1074},{"className":167},[1075],{"type":197,"value":922},{"type":173,"tag":1069,"props":1077,"children":1078},{},[1079,1081],{"type":197,"value":1080},"Type: ",{"type":173,"tag":204,"props":1082,"children":1083},{"className":167},[1084],{"type":197,"value":1085},"object",{"type":173,"tag":1069,"props":1087,"children":1088},{},[1089,1091],{"type":197,"value":1090},"Properties:\n",{"type":173,"tag":1065,"props":1092,"children":1093},{},[1094,1104,1121],{"type":173,"tag":1069,"props":1095,"children":1096},{},[1097,1099],{"type":197,"value":1098},"path: ",{"type":173,"tag":204,"props":1100,"children":1101},{"className":167},[1102],{"type":197,"value":1103},"string",{"type":173,"tag":1069,"props":1105,"children":1106},{},[1107,1109,1113,1115,1120],{"type":197,"value":1108},"extension: ",{"type":173,"tag":204,"props":1110,"children":1111},{"className":167},[1112],{"type":197,"value":1103},{"type":197,"value":1114}," (ex: ",{"type":173,"tag":204,"props":1116,"children":1117},{"className":167},[1118],{"type":197,"value":1119},".md",{"type":197,"value":841},{"type":173,"tag":1069,"props":1122,"children":1123},{},[1124,1126],{"type":197,"value":1125},"data: ",{"type":173,"tag":204,"props":1127,"children":1128},{"className":167},[1129],{"type":197,"value":1103},{"type":173,"tag":200,"props":1131,"children":1132},{},[1133],{"type":173,"tag":212,"props":1134,"children":1135},{},[1136],{"type":197,"value":639},{"type":173,"tag":200,"props":1138,"children":1139},{},[1140,1142,1147,1149,1154],{"type":197,"value":1141},"Changing all appearances of ",{"type":173,"tag":204,"props":1143,"children":1144},{"className":167},[1145],{"type":197,"value":1146},"react",{"type":197,"value":1148}," to ",{"type":173,"tag":204,"props":1150,"children":1151},{"className":167},[1152],{"type":197,"value":1153},"vue",{"type":197,"value":1155}," in all Markdown files:",{"type":173,"tag":244,"props":1157,"children":1159},{"className":246,"code":1158,"filename":643,"language":248,"meta":167,"style":167},"hooks: {\n  'content:file:beforeParse': (file) => {\n    if (file.extension !== '.md') return\n    file.data = file.data.replace(/react/g, 'vue')\n  }\n}\n",[1160],{"type":173,"tag":204,"props":1161,"children":1162},{"__ignoreMap":167},[1163,1179,1220,1273,1358,1365],{"type":173,"tag":254,"props":1164,"children":1165},{"class":256,"line":257},[1166,1171,1175],{"type":173,"tag":254,"props":1167,"children":1169},{"style":1168},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[1170],{"type":197,"value":1037},{"type":173,"tag":254,"props":1172,"children":1173},{"style":272},[1174],{"type":197,"value":290},{"type":173,"tag":254,"props":1176,"children":1177},{"style":272},[1178],{"type":197,"value":275},{"type":173,"tag":254,"props":1180,"children":1181},{"class":256,"line":278},[1182,1187,1191,1195,1200,1204,1208,1212,1216],{"type":173,"tag":254,"props":1183,"children":1184},{"style":272},[1185],{"type":197,"value":1186},"  '",{"type":173,"tag":254,"props":1188,"children":1189},{"style":308},[1190],{"type":197,"value":1053},{"type":173,"tag":254,"props":1192,"children":1193},{"style":272},[1194],{"type":197,"value":415},{"type":173,"tag":254,"props":1196,"children":1197},{"style":282},[1198],{"type":197,"value":1199},": ",{"type":173,"tag":254,"props":1201,"children":1202},{"style":272},[1203],{"type":197,"value":410},{"type":173,"tag":254,"props":1205,"children":1206},{"style":919},[1207],{"type":197,"value":922},{"type":173,"tag":254,"props":1209,"children":1210},{"style":272},[1211],{"type":197,"value":841},{"type":173,"tag":254,"props":1213,"children":1214},{"style":353},[1215],{"type":197,"value":927},{"type":173,"tag":254,"props":1217,"children":1218},{"style":272},[1219],{"type":197,"value":275},{"type":173,"tag":254,"props":1221,"children":1222},{"class":256,"line":299},[1223,1228,1233,1237,1241,1246,1251,1255,1259,1263,1268],{"type":173,"tag":254,"props":1224,"children":1225},{"style":261},[1226],{"type":197,"value":1227},"    if",{"type":173,"tag":254,"props":1229,"children":1230},{"style":282},[1231],{"type":197,"value":1232}," (",{"type":173,"tag":254,"props":1234,"children":1235},{"style":293},[1236],{"type":197,"value":922},{"type":173,"tag":254,"props":1238,"children":1239},{"style":272},[1240],{"type":197,"value":218},{"type":173,"tag":254,"props":1242,"children":1243},{"style":293},[1244],{"type":197,"value":1245},"extension",{"type":173,"tag":254,"props":1247,"children":1248},{"style":272},[1249],{"type":197,"value":1250}," !==",{"type":173,"tag":254,"props":1252,"children":1253},{"style":272},[1254],{"type":197,"value":950},{"type":173,"tag":254,"props":1256,"children":1257},{"style":308},[1258],{"type":197,"value":1119},{"type":173,"tag":254,"props":1260,"children":1261},{"style":272},[1262],{"type":197,"value":415},{"type":173,"tag":254,"props":1264,"children":1265},{"style":282},[1266],{"type":197,"value":1267},") ",{"type":173,"tag":254,"props":1269,"children":1270},{"style":261},[1271],{"type":197,"value":1272},"return\n",{"type":173,"tag":254,"props":1274,"children":1275},{"class":256,"line":318},[1276,1281,1285,1290,1294,1298,1302,1306,1310,1315,1319,1323,1327,1331,1337,1342,1346,1350,1354],{"type":173,"tag":254,"props":1277,"children":1278},{"style":293},[1279],{"type":197,"value":1280},"    file",{"type":173,"tag":254,"props":1282,"children":1283},{"style":272},[1284],{"type":197,"value":218},{"type":173,"tag":254,"props":1286,"children":1287},{"style":293},[1288],{"type":197,"value":1289},"data",{"type":173,"tag":254,"props":1291,"children":1292},{"style":272},[1293],{"type":197,"value":399},{"type":173,"tag":254,"props":1295,"children":1296},{"style":293},[1297],{"type":197,"value":932},{"type":173,"tag":254,"props":1299,"children":1300},{"style":272},[1301],{"type":197,"value":218},{"type":173,"tag":254,"props":1303,"children":1304},{"style":293},[1305],{"type":197,"value":1289},{"type":173,"tag":254,"props":1307,"children":1308},{"style":272},[1309],{"type":197,"value":218},{"type":173,"tag":254,"props":1311,"children":1312},{"style":402},[1313],{"type":197,"value":1314},"replace",{"type":173,"tag":254,"props":1316,"children":1317},{"style":282},[1318],{"type":197,"value":410},{"type":173,"tag":254,"props":1320,"children":1321},{"style":272},[1322],{"type":197,"value":973},{"type":173,"tag":254,"props":1324,"children":1325},{"style":308},[1326],{"type":197,"value":1146},{"type":173,"tag":254,"props":1328,"children":1329},{"style":272},[1330],{"type":197,"value":973},{"type":173,"tag":254,"props":1332,"children":1334},{"style":1333},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1335],{"type":197,"value":1336},"g",{"type":173,"tag":254,"props":1338,"children":1339},{"style":272},[1340],{"type":197,"value":1341},",",{"type":173,"tag":254,"props":1343,"children":1344},{"style":272},[1345],{"type":197,"value":950},{"type":173,"tag":254,"props":1347,"children":1348},{"style":308},[1349],{"type":197,"value":1153},{"type":173,"tag":254,"props":1351,"children":1352},{"style":272},[1353],{"type":197,"value":415},{"type":173,"tag":254,"props":1355,"children":1356},{"style":282},[1357],{"type":197,"value":428},{"type":173,"tag":254,"props":1359,"children":1360},{"class":256,"line":332},[1361],{"type":173,"tag":254,"props":1362,"children":1363},{"style":272},[1364],{"type":197,"value":554},{"type":173,"tag":254,"props":1366,"children":1367},{"class":256,"line":349},[1368],{"type":173,"tag":254,"props":1369,"children":1370},{"style":272},[1371],{"type":197,"value":563},{"type":173,"tag":565,"props":1373,"children":1375},{"id":1374},"contentfilebeforeinsert",[1376],{"type":173,"tag":204,"props":1377,"children":1378},{"className":167},[1379],{"type":197,"value":1380},"content:file:beforeInsert",{"type":173,"tag":200,"props":1382,"children":1383},{},[1384],{"type":197,"value":1385},"Allows you to add data to a document before it is stored.",{"type":173,"tag":200,"props":1387,"children":1388},{},[1389],{"type":197,"value":1063},{"type":173,"tag":1065,"props":1391,"children":1392},{},[1393,1429],{"type":173,"tag":1069,"props":1394,"children":1395},{},[1396,1401],{"type":173,"tag":204,"props":1397,"children":1398},{"className":167},[1399],{"type":197,"value":1400},"document",{"type":173,"tag":1065,"props":1402,"children":1403},{},[1404,1412],{"type":173,"tag":1069,"props":1405,"children":1406},{},[1407,1408],{"type":197,"value":1080},{"type":173,"tag":204,"props":1409,"children":1410},{"className":167},[1411],{"type":197,"value":1085},{"type":173,"tag":1069,"props":1413,"children":1414},{},[1415,1416],{"type":197,"value":1090},{"type":173,"tag":1065,"props":1417,"children":1418},{},[1419],{"type":173,"tag":1069,"props":1420,"children":1421},{},[1422,1424],{"type":197,"value":1423},"See ",{"type":173,"tag":611,"props":1425,"children":1426},{"href":129},[1427],{"type":197,"value":1428},"writing content",{"type":173,"tag":1069,"props":1430,"children":1431},{},[1432,1437],{"type":173,"tag":204,"props":1433,"children":1434},{"className":167},[1435],{"type":197,"value":1436},"database",{"type":173,"tag":1065,"props":1438,"children":1439},{},[1440,1448],{"type":173,"tag":1069,"props":1441,"children":1442},{},[1443,1444],{"type":197,"value":1080},{"type":173,"tag":204,"props":1445,"children":1446},{"className":167},[1447],{"type":197,"value":1085},{"type":173,"tag":1069,"props":1449,"children":1450},{},[1451,1452],{"type":197,"value":1090},{"type":173,"tag":1065,"props":1453,"children":1454},{},[1455],{"type":173,"tag":1069,"props":1456,"children":1457},{},[1458,1459],{"type":197,"value":1423},{"type":173,"tag":611,"props":1460,"children":1463},{"href":1461,"rel":1462},"https://github.com/nuxt/content/blob/v1/packages/content/types/database.d.ts",[615],[1464],{"type":197,"value":1465},"type definition",{"type":173,"tag":200,"props":1467,"children":1468},{},[1469],{"type":173,"tag":212,"props":1470,"children":1471},{},[1472],{"type":197,"value":639},{"type":173,"tag":200,"props":1474,"children":1475},{},[1476,1478,1483,1485,1490,1492,1499],{"type":197,"value":1477},"When building a blog, you can use ",{"type":173,"tag":204,"props":1479,"children":1480},{"className":167},[1481],{"type":197,"value":1482},"file:beforeInsert",{"type":197,"value":1484}," to add ",{"type":173,"tag":204,"props":1486,"children":1487},{"className":167},[1488],{"type":197,"value":1489},"readingTime",{"type":197,"value":1491}," to a document using ",{"type":173,"tag":611,"props":1493,"children":1496},{"href":1494,"rel":1495},"https://github.com/ngryman/reading-time",[615],[1497],{"type":197,"value":1498},"reading-time",{"type":197,"value":218},{"type":173,"tag":602,"props":1501,"children":1502},{},[1503],{"type":173,"tag":200,"props":1504,"children":1505},{},[1506,1510],{"type":173,"tag":204,"props":1507,"children":1508},{"className":167},[1509],{"type":197,"value":197},{"type":197,"value":1511}," is the body content of a markdown file before it is transformed to JSON AST. You can use at this point, but it is not returned by the API.",{"type":173,"tag":244,"props":1513,"children":1515},{"className":246,"code":1514,"filename":643,"language":248,"meta":167,"style":167},"export default {\n  modules: [,\n    '@nuxt/content'\n  ],\n  hooks: {\n    'content:file:beforeInsert': (document) => {\n      if (document.extension === '.md') {\n        const { time } = require('reading-time')(document.text)\n\n        document.readingTime = time\n      }\n    }\n  }\n}\n",[1516],{"type":173,"tag":204,"props":1517,"children":1518},{"__ignoreMap":167},[1519,1534,1554,1569,1580,1596,1635,1684,1750,1757,1782,1790,1797,1804],{"type":173,"tag":254,"props":1520,"children":1521},{"class":256,"line":257},[1522,1526,1530],{"type":173,"tag":254,"props":1523,"children":1524},{"style":261},[1525],{"type":197,"value":264},{"type":173,"tag":254,"props":1527,"children":1528},{"style":261},[1529],{"type":197,"value":269},{"type":173,"tag":254,"props":1531,"children":1532},{"style":272},[1533],{"type":197,"value":275},{"type":173,"tag":254,"props":1535,"children":1536},{"class":256,"line":278},[1537,1541,1545,1550],{"type":173,"tag":254,"props":1538,"children":1539},{"style":282},[1540],{"type":197,"value":285},{"type":173,"tag":254,"props":1542,"children":1543},{"style":272},[1544],{"type":197,"value":290},{"type":173,"tag":254,"props":1546,"children":1547},{"style":293},[1548],{"type":197,"value":1549}," [",{"type":173,"tag":254,"props":1551,"children":1552},{"style":272},[1553],{"type":197,"value":329},{"type":173,"tag":254,"props":1555,"children":1556},{"class":256,"line":299},[1557,1561,1565],{"type":173,"tag":254,"props":1558,"children":1559},{"style":272},[1560],{"type":197,"value":305},{"type":173,"tag":254,"props":1562,"children":1563},{"style":308},[1564],{"type":197,"value":216},{"type":173,"tag":254,"props":1566,"children":1567},{"style":272},[1568],{"type":197,"value":315},{"type":173,"tag":254,"props":1570,"children":1571},{"class":256,"line":318},[1572,1576],{"type":173,"tag":254,"props":1573,"children":1574},{"style":293},[1575],{"type":197,"value":324},{"type":173,"tag":254,"props":1577,"children":1578},{"style":272},[1579],{"type":197,"value":329},{"type":173,"tag":254,"props":1581,"children":1582},{"class":256,"line":332},[1583,1588,1592],{"type":173,"tag":254,"props":1584,"children":1585},{"style":282},[1586],{"type":197,"value":1587},"  hooks",{"type":173,"tag":254,"props":1589,"children":1590},{"style":272},[1591],{"type":197,"value":290},{"type":173,"tag":254,"props":1593,"children":1594},{"style":272},[1595],{"type":197,"value":275},{"type":173,"tag":254,"props":1597,"children":1598},{"class":256,"line":349},[1599,1603,1607,1611,1615,1619,1623,1627,1631],{"type":173,"tag":254,"props":1600,"children":1601},{"style":272},[1602],{"type":197,"value":305},{"type":173,"tag":254,"props":1604,"children":1605},{"style":282},[1606],{"type":197,"value":1380},{"type":173,"tag":254,"props":1608,"children":1609},{"style":272},[1610],{"type":197,"value":415},{"type":173,"tag":254,"props":1612,"children":1613},{"style":272},[1614],{"type":197,"value":290},{"type":173,"tag":254,"props":1616,"children":1617},{"style":272},[1618],{"type":197,"value":1232},{"type":173,"tag":254,"props":1620,"children":1621},{"style":919},[1622],{"type":197,"value":1400},{"type":173,"tag":254,"props":1624,"children":1625},{"style":272},[1626],{"type":197,"value":841},{"type":173,"tag":254,"props":1628,"children":1629},{"style":353},[1630],{"type":197,"value":927},{"type":173,"tag":254,"props":1632,"children":1633},{"style":272},[1634],{"type":197,"value":275},{"type":173,"tag":254,"props":1636,"children":1637},{"class":256,"line":373},[1638,1643,1647,1651,1655,1659,1663,1667,1671,1675,1679],{"type":173,"tag":254,"props":1639,"children":1640},{"style":261},[1641],{"type":197,"value":1642},"      if",{"type":173,"tag":254,"props":1644,"children":1645},{"style":282},[1646],{"type":197,"value":1232},{"type":173,"tag":254,"props":1648,"children":1649},{"style":293},[1650],{"type":197,"value":1400},{"type":173,"tag":254,"props":1652,"children":1653},{"style":272},[1654],{"type":197,"value":218},{"type":173,"tag":254,"props":1656,"children":1657},{"style":293},[1658],{"type":197,"value":1245},{"type":173,"tag":254,"props":1660,"children":1661},{"style":272},[1662],{"type":197,"value":945},{"type":173,"tag":254,"props":1664,"children":1665},{"style":272},[1666],{"type":197,"value":950},{"type":173,"tag":254,"props":1668,"children":1669},{"style":308},[1670],{"type":197,"value":1119},{"type":173,"tag":254,"props":1672,"children":1673},{"style":272},[1674],{"type":197,"value":415},{"type":173,"tag":254,"props":1676,"children":1677},{"style":282},[1678],{"type":197,"value":1267},{"type":173,"tag":254,"props":1680,"children":1681},{"style":272},[1682],{"type":197,"value":1683},"{\n",{"type":173,"tag":254,"props":1685,"children":1686},{"class":256,"line":431},[1687,1692,1696,1701,1705,1709,1713,1717,1721,1725,1729,1734,1738,1742,1746],{"type":173,"tag":254,"props":1688,"children":1689},{"style":353},[1690],{"type":197,"value":1691},"        const",{"type":173,"tag":254,"props":1693,"children":1694},{"style":272},[1695],{"type":197,"value":384},{"type":173,"tag":254,"props":1697,"children":1698},{"style":293},[1699],{"type":197,"value":1700}," time",{"type":173,"tag":254,"props":1702,"children":1703},{"style":272},[1704],{"type":197,"value":394},{"type":173,"tag":254,"props":1706,"children":1707},{"style":272},[1708],{"type":197,"value":399},{"type":173,"tag":254,"props":1710,"children":1711},{"style":402},[1712],{"type":197,"value":405},{"type":173,"tag":254,"props":1714,"children":1715},{"style":282},[1716],{"type":197,"value":410},{"type":173,"tag":254,"props":1718,"children":1719},{"style":272},[1720],{"type":197,"value":415},{"type":173,"tag":254,"props":1722,"children":1723},{"style":308},[1724],{"type":197,"value":1498},{"type":173,"tag":254,"props":1726,"children":1727},{"style":272},[1728],{"type":197,"value":415},{"type":173,"tag":254,"props":1730,"children":1731},{"style":282},[1732],{"type":197,"value":1733},")(",{"type":173,"tag":254,"props":1735,"children":1736},{"style":293},[1737],{"type":197,"value":1400},{"type":173,"tag":254,"props":1739,"children":1740},{"style":272},[1741],{"type":197,"value":218},{"type":173,"tag":254,"props":1743,"children":1744},{"style":293},[1745],{"type":197,"value":197},{"type":173,"tag":254,"props":1747,"children":1748},{"style":282},[1749],{"type":197,"value":428},{"type":173,"tag":254,"props":1751,"children":1752},{"class":256,"line":508},[1753],{"type":173,"tag":254,"props":1754,"children":1755},{"emptyLinePlaceholder":888},[1756],{"type":197,"value":891},{"type":173,"tag":254,"props":1758,"children":1759},{"class":256,"line":539},[1760,1765,1769,1773,1777],{"type":173,"tag":254,"props":1761,"children":1762},{"style":293},[1763],{"type":197,"value":1764},"        document",{"type":173,"tag":254,"props":1766,"children":1767},{"style":272},[1768],{"type":197,"value":218},{"type":173,"tag":254,"props":1770,"children":1771},{"style":293},[1772],{"type":197,"value":1489},{"type":173,"tag":254,"props":1774,"children":1775},{"style":272},[1776],{"type":197,"value":399},{"type":173,"tag":254,"props":1778,"children":1779},{"style":293},[1780],{"type":197,"value":1781}," time\n",{"type":173,"tag":254,"props":1783,"children":1784},{"class":256,"line":548},[1785],{"type":173,"tag":254,"props":1786,"children":1787},{"style":272},[1788],{"type":197,"value":1789},"      }\n",{"type":173,"tag":254,"props":1791,"children":1792},{"class":256,"line":557},[1793],{"type":173,"tag":254,"props":1794,"children":1795},{"style":272},[1796],{"type":197,"value":545},{"type":173,"tag":254,"props":1798,"children":1799},{"class":256,"line":1015},[1800],{"type":173,"tag":254,"props":1801,"children":1802},{"style":272},[1803],{"type":197,"value":554},{"type":173,"tag":254,"props":1805,"children":1807},{"class":256,"line":1806},14,[1808],{"type":173,"tag":254,"props":1809,"children":1810},{"style":272},[1811],{"type":197,"value":563},{"type":173,"tag":200,"props":1813,"children":1814},{},[1815],{"type":173,"tag":212,"props":1816,"children":1817},{},[1818],{"type":197,"value":639},{"type":173,"tag":200,"props":1820,"children":1821},{},[1822,1824,1829,1831,1835],{"type":197,"value":1823},"You might want to parse markdown inside a ",{"type":173,"tag":204,"props":1825,"children":1826},{"className":167},[1827],{"type":197,"value":1828},".json",{"type":197,"value":1830}," file. You can access the parsers from the ",{"type":173,"tag":204,"props":1832,"children":1833},{"className":167},[1834],{"type":197,"value":1436},{"type":197,"value":1836}," object:",{"type":173,"tag":244,"props":1838,"children":1840},{"className":246,"code":1839,"filename":643,"language":248,"meta":167,"style":167},"export default {\n  modules: [,\n    '@nuxt/content'\n  ],\n  hooks: {\n    'content:file:beforeInsert': async (document, database) => {\n      if (document.extension === '.json' && document.body) {\n        const data = await database.markdown.toJSON(document.body)\n\n        Object.assign(document, data)\n      }\n    }\n  }\n}\n",[1841],{"type":173,"tag":204,"props":1842,"children":1843},{"__ignoreMap":167},[1844,1859,1878,1893,1904,1919,1972,2038,2099,2106,2143,2150,2157,2164],{"type":173,"tag":254,"props":1845,"children":1846},{"class":256,"line":257},[1847,1851,1855],{"type":173,"tag":254,"props":1848,"children":1849},{"style":261},[1850],{"type":197,"value":264},{"type":173,"tag":254,"props":1852,"children":1853},{"style":261},[1854],{"type":197,"value":269},{"type":173,"tag":254,"props":1856,"children":1857},{"style":272},[1858],{"type":197,"value":275},{"type":173,"tag":254,"props":1860,"children":1861},{"class":256,"line":278},[1862,1866,1870,1874],{"type":173,"tag":254,"props":1863,"children":1864},{"style":282},[1865],{"type":197,"value":285},{"type":173,"tag":254,"props":1867,"children":1868},{"style":272},[1869],{"type":197,"value":290},{"type":173,"tag":254,"props":1871,"children":1872},{"style":293},[1873],{"type":197,"value":1549},{"type":173,"tag":254,"props":1875,"children":1876},{"style":272},[1877],{"type":197,"value":329},{"type":173,"tag":254,"props":1879,"children":1880},{"class":256,"line":299},[1881,1885,1889],{"type":173,"tag":254,"props":1882,"children":1883},{"style":272},[1884],{"type":197,"value":305},{"type":173,"tag":254,"props":1886,"children":1887},{"style":308},[1888],{"type":197,"value":216},{"type":173,"tag":254,"props":1890,"children":1891},{"style":272},[1892],{"type":197,"value":315},{"type":173,"tag":254,"props":1894,"children":1895},{"class":256,"line":318},[1896,1900],{"type":173,"tag":254,"props":1897,"children":1898},{"style":293},[1899],{"type":197,"value":324},{"type":173,"tag":254,"props":1901,"children":1902},{"style":272},[1903],{"type":197,"value":329},{"type":173,"tag":254,"props":1905,"children":1906},{"class":256,"line":332},[1907,1911,1915],{"type":173,"tag":254,"props":1908,"children":1909},{"style":282},[1910],{"type":197,"value":1587},{"type":173,"tag":254,"props":1912,"children":1913},{"style":272},[1914],{"type":197,"value":290},{"type":173,"tag":254,"props":1916,"children":1917},{"style":272},[1918],{"type":197,"value":275},{"type":173,"tag":254,"props":1920,"children":1921},{"class":256,"line":349},[1922,1926,1930,1934,1938,1943,1947,1951,1955,1960,1964,1968],{"type":173,"tag":254,"props":1923,"children":1924},{"style":272},[1925],{"type":197,"value":305},{"type":173,"tag":254,"props":1927,"children":1928},{"style":282},[1929],{"type":197,"value":1380},{"type":173,"tag":254,"props":1931,"children":1932},{"style":272},[1933],{"type":197,"value":415},{"type":173,"tag":254,"props":1935,"children":1936},{"style":272},[1937],{"type":197,"value":290},{"type":173,"tag":254,"props":1939,"children":1940},{"style":353},[1941],{"type":197,"value":1942}," async",{"type":173,"tag":254,"props":1944,"children":1945},{"style":272},[1946],{"type":197,"value":1232},{"type":173,"tag":254,"props":1948,"children":1949},{"style":919},[1950],{"type":197,"value":1400},{"type":173,"tag":254,"props":1952,"children":1953},{"style":272},[1954],{"type":197,"value":1341},{"type":173,"tag":254,"props":1956,"children":1957},{"style":919},[1958],{"type":197,"value":1959}," database",{"type":173,"tag":254,"props":1961,"children":1962},{"style":272},[1963],{"type":197,"value":841},{"type":173,"tag":254,"props":1965,"children":1966},{"style":353},[1967],{"type":197,"value":927},{"type":173,"tag":254,"props":1969,"children":1970},{"style":272},[1971],{"type":197,"value":275},{"type":173,"tag":254,"props":1973,"children":1974},{"class":256,"line":373},[1975,1979,1983,1987,1991,1995,1999,2003,2007,2011,2016,2021,2025,2030,2034],{"type":173,"tag":254,"props":1976,"children":1977},{"style":261},[1978],{"type":197,"value":1642},{"type":173,"tag":254,"props":1980,"children":1981},{"style":282},[1982],{"type":197,"value":1232},{"type":173,"tag":254,"props":1984,"children":1985},{"style":293},[1986],{"type":197,"value":1400},{"type":173,"tag":254,"props":1988,"children":1989},{"style":272},[1990],{"type":197,"value":218},{"type":173,"tag":254,"props":1992,"children":1993},{"style":293},[1994],{"type":197,"value":1245},{"type":173,"tag":254,"props":1996,"children":1997},{"style":272},[1998],{"type":197,"value":945},{"type":173,"tag":254,"props":2000,"children":2001},{"style":272},[2002],{"type":197,"value":950},{"type":173,"tag":254,"props":2004,"children":2005},{"style":308},[2006],{"type":197,"value":1828},{"type":173,"tag":254,"props":2008,"children":2009},{"style":272},[2010],{"type":197,"value":415},{"type":173,"tag":254,"props":2012,"children":2013},{"style":272},[2014],{"type":197,"value":2015}," &&",{"type":173,"tag":254,"props":2017,"children":2018},{"style":293},[2019],{"type":197,"value":2020}," document",{"type":173,"tag":254,"props":2022,"children":2023},{"style":272},[2024],{"type":197,"value":218},{"type":173,"tag":254,"props":2026,"children":2027},{"style":293},[2028],{"type":197,"value":2029},"body",{"type":173,"tag":254,"props":2031,"children":2032},{"style":282},[2033],{"type":197,"value":1267},{"type":173,"tag":254,"props":2035,"children":2036},{"style":272},[2037],{"type":197,"value":1683},{"type":173,"tag":254,"props":2039,"children":2040},{"class":256,"line":431},[2041,2045,2050,2054,2058,2062,2066,2070,2074,2079,2083,2087,2091,2095],{"type":173,"tag":254,"props":2042,"children":2043},{"style":353},[2044],{"type":197,"value":1691},{"type":173,"tag":254,"props":2046,"children":2047},{"style":293},[2048],{"type":197,"value":2049}," data",{"type":173,"tag":254,"props":2051,"children":2052},{"style":272},[2053],{"type":197,"value":399},{"type":173,"tag":254,"props":2055,"children":2056},{"style":261},[2057],{"type":197,"value":450},{"type":173,"tag":254,"props":2059,"children":2060},{"style":293},[2061],{"type":197,"value":1959},{"type":173,"tag":254,"props":2063,"children":2064},{"style":272},[2065],{"type":197,"value":218},{"type":173,"tag":254,"props":2067,"children":2068},{"style":293},[2069],{"type":197,"value":180},{"type":173,"tag":254,"props":2071,"children":2072},{"style":272},[2073],{"type":197,"value":218},{"type":173,"tag":254,"props":2075,"children":2076},{"style":402},[2077],{"type":197,"value":2078},"toJSON",{"type":173,"tag":254,"props":2080,"children":2081},{"style":282},[2082],{"type":197,"value":410},{"type":173,"tag":254,"props":2084,"children":2085},{"style":293},[2086],{"type":197,"value":1400},{"type":173,"tag":254,"props":2088,"children":2089},{"style":272},[2090],{"type":197,"value":218},{"type":173,"tag":254,"props":2092,"children":2093},{"style":293},[2094],{"type":197,"value":2029},{"type":173,"tag":254,"props":2096,"children":2097},{"style":282},[2098],{"type":197,"value":428},{"type":173,"tag":254,"props":2100,"children":2101},{"class":256,"line":508},[2102],{"type":173,"tag":254,"props":2103,"children":2104},{"emptyLinePlaceholder":888},[2105],{"type":197,"value":891},{"type":173,"tag":254,"props":2107,"children":2108},{"class":256,"line":539},[2109,2114,2118,2123,2127,2131,2135,2139],{"type":173,"tag":254,"props":2110,"children":2111},{"style":293},[2112],{"type":197,"value":2113},"        Object",{"type":173,"tag":254,"props":2115,"children":2116},{"style":272},[2117],{"type":197,"value":218},{"type":173,"tag":254,"props":2119,"children":2120},{"style":402},[2121],{"type":197,"value":2122},"assign",{"type":173,"tag":254,"props":2124,"children":2125},{"style":282},[2126],{"type":197,"value":410},{"type":173,"tag":254,"props":2128,"children":2129},{"style":293},[2130],{"type":197,"value":1400},{"type":173,"tag":254,"props":2132,"children":2133},{"style":272},[2134],{"type":197,"value":1341},{"type":173,"tag":254,"props":2136,"children":2137},{"style":293},[2138],{"type":197,"value":2049},{"type":173,"tag":254,"props":2140,"children":2141},{"style":282},[2142],{"type":197,"value":428},{"type":173,"tag":254,"props":2144,"children":2145},{"class":256,"line":548},[2146],{"type":173,"tag":254,"props":2147,"children":2148},{"style":272},[2149],{"type":197,"value":1789},{"type":173,"tag":254,"props":2151,"children":2152},{"class":256,"line":557},[2153],{"type":173,"tag":254,"props":2154,"children":2155},{"style":272},[2156],{"type":197,"value":545},{"type":173,"tag":254,"props":2158,"children":2159},{"class":256,"line":1015},[2160],{"type":173,"tag":254,"props":2161,"children":2162},{"style":272},[2163],{"type":197,"value":554},{"type":173,"tag":254,"props":2165,"children":2166},{"class":256,"line":1806},[2167],{"type":173,"tag":254,"props":2168,"children":2169},{"style":272},[2170],{"type":197,"value":563},{"type":173,"tag":565,"props":2172,"children":2174},{"id":2173},"contentoptions",[2175],{"type":173,"tag":204,"props":2176,"children":2177},{"className":167},[2178],{"type":197,"value":2179},"content:options",{"type":173,"tag":200,"props":2181,"children":2182},{},[2183],{"type":197,"value":2184},"Extend the content options, useful for modules that wants to read content options when normalized and apply updated to it.",{"type":173,"tag":200,"props":2186,"children":2187},{},[2188],{"type":197,"value":1063},{"type":173,"tag":1065,"props":2190,"children":2191},{},[2192],{"type":173,"tag":1069,"props":2193,"children":2194},{},[2195,2200],{"type":173,"tag":204,"props":2196,"children":2197},{"className":167},[2198],{"type":197,"value":2199},"options",{"type":173,"tag":1065,"props":2201,"children":2202},{},[2203,2211],{"type":173,"tag":1069,"props":2204,"children":2205},{},[2206,2207],{"type":197,"value":1080},{"type":173,"tag":204,"props":2208,"children":2209},{"className":167},[2210],{"type":197,"value":1085},{"type":173,"tag":1069,"props":2212,"children":2213},{},[2214,2215],{"type":197,"value":1090},{"type":173,"tag":1065,"props":2216,"children":2217},{},[2218],{"type":173,"tag":1069,"props":2219,"children":2220},{},[2221,2222],{"type":197,"value":1423},{"type":173,"tag":611,"props":2223,"children":2225},{"href":2224},"/v1/getting-started/configuration#properties",[2226],{"type":197,"value":2227},"configuration",{"type":173,"tag":200,"props":2229,"children":2230},{},[2231],{"type":173,"tag":212,"props":2232,"children":2233},{},[2234],{"type":197,"value":639},{"type":173,"tag":244,"props":2236,"children":2238},{"className":246,"code":2237,"filename":643,"language":248,"meta":167,"style":167},"export default {\n  modules: [,\n    '@nuxt/content'\n  ],\n  hooks: {\n    'content:options': (options) => {\n      console.log('Content options:', options)\n    }\n  }\n}\n",[2239],{"type":173,"tag":204,"props":2240,"children":2241},{"__ignoreMap":167},[2242,2257,2276,2291,2302,2317,2356,2401,2408,2415],{"type":173,"tag":254,"props":2243,"children":2244},{"class":256,"line":257},[2245,2249,2253],{"type":173,"tag":254,"props":2246,"children":2247},{"style":261},[2248],{"type":197,"value":264},{"type":173,"tag":254,"props":2250,"children":2251},{"style":261},[2252],{"type":197,"value":269},{"type":173,"tag":254,"props":2254,"children":2255},{"style":272},[2256],{"type":197,"value":275},{"type":173,"tag":254,"props":2258,"children":2259},{"class":256,"line":278},[2260,2264,2268,2272],{"type":173,"tag":254,"props":2261,"children":2262},{"style":282},[2263],{"type":197,"value":285},{"type":173,"tag":254,"props":2265,"children":2266},{"style":272},[2267],{"type":197,"value":290},{"type":173,"tag":254,"props":2269,"children":2270},{"style":293},[2271],{"type":197,"value":1549},{"type":173,"tag":254,"props":2273,"children":2274},{"style":272},[2275],{"type":197,"value":329},{"type":173,"tag":254,"props":2277,"children":2278},{"class":256,"line":299},[2279,2283,2287],{"type":173,"tag":254,"props":2280,"children":2281},{"style":272},[2282],{"type":197,"value":305},{"type":173,"tag":254,"props":2284,"children":2285},{"style":308},[2286],{"type":197,"value":216},{"type":173,"tag":254,"props":2288,"children":2289},{"style":272},[2290],{"type":197,"value":315},{"type":173,"tag":254,"props":2292,"children":2293},{"class":256,"line":318},[2294,2298],{"type":173,"tag":254,"props":2295,"children":2296},{"style":293},[2297],{"type":197,"value":324},{"type":173,"tag":254,"props":2299,"children":2300},{"style":272},[2301],{"type":197,"value":329},{"type":173,"tag":254,"props":2303,"children":2304},{"class":256,"line":332},[2305,2309,2313],{"type":173,"tag":254,"props":2306,"children":2307},{"style":282},[2308],{"type":197,"value":1587},{"type":173,"tag":254,"props":2310,"children":2311},{"style":272},[2312],{"type":197,"value":290},{"type":173,"tag":254,"props":2314,"children":2315},{"style":272},[2316],{"type":197,"value":275},{"type":173,"tag":254,"props":2318,"children":2319},{"class":256,"line":349},[2320,2324,2328,2332,2336,2340,2344,2348,2352],{"type":173,"tag":254,"props":2321,"children":2322},{"style":272},[2323],{"type":197,"value":305},{"type":173,"tag":254,"props":2325,"children":2326},{"style":282},[2327],{"type":197,"value":2179},{"type":173,"tag":254,"props":2329,"children":2330},{"style":272},[2331],{"type":197,"value":415},{"type":173,"tag":254,"props":2333,"children":2334},{"style":272},[2335],{"type":197,"value":290},{"type":173,"tag":254,"props":2337,"children":2338},{"style":272},[2339],{"type":197,"value":1232},{"type":173,"tag":254,"props":2341,"children":2342},{"style":919},[2343],{"type":197,"value":2199},{"type":173,"tag":254,"props":2345,"children":2346},{"style":272},[2347],{"type":197,"value":841},{"type":173,"tag":254,"props":2349,"children":2350},{"style":353},[2351],{"type":197,"value":927},{"type":173,"tag":254,"props":2353,"children":2354},{"style":272},[2355],{"type":197,"value":275},{"type":173,"tag":254,"props":2357,"children":2358},{"class":256,"line":373},[2359,2363,2367,2371,2375,2379,2384,2388,2392,2397],{"type":173,"tag":254,"props":2360,"children":2361},{"style":293},[2362],{"type":197,"value":514},{"type":173,"tag":254,"props":2364,"children":2365},{"style":272},[2366],{"type":197,"value":218},{"type":173,"tag":254,"props":2368,"children":2369},{"style":402},[2370],{"type":197,"value":523},{"type":173,"tag":254,"props":2372,"children":2373},{"style":282},[2374],{"type":197,"value":410},{"type":173,"tag":254,"props":2376,"children":2377},{"style":272},[2378],{"type":197,"value":415},{"type":173,"tag":254,"props":2380,"children":2381},{"style":308},[2382],{"type":197,"value":2383},"Content options:",{"type":173,"tag":254,"props":2385,"children":2386},{"style":272},[2387],{"type":197,"value":415},{"type":173,"tag":254,"props":2389,"children":2390},{"style":272},[2391],{"type":197,"value":1341},{"type":173,"tag":254,"props":2393,"children":2394},{"style":293},[2395],{"type":197,"value":2396}," options",{"type":173,"tag":254,"props":2398,"children":2399},{"style":282},[2400],{"type":197,"value":428},{"type":173,"tag":254,"props":2402,"children":2403},{"class":256,"line":431},[2404],{"type":173,"tag":254,"props":2405,"children":2406},{"style":272},[2407],{"type":197,"value":545},{"type":173,"tag":254,"props":2409,"children":2410},{"class":256,"line":508},[2411],{"type":173,"tag":254,"props":2412,"children":2413},{"style":272},[2414],{"type":197,"value":554},{"type":173,"tag":254,"props":2416,"children":2417},{"class":256,"line":539},[2418],{"type":173,"tag":254,"props":2419,"children":2420},{"style":272},[2421],{"type":197,"value":563},{"type":173,"tag":192,"props":2423,"children":2425},{"id":2424},"handling-hot-reload",[2426],{"type":197,"value":2427},"Handling Hot Reload",{"type":173,"tag":220,"props":2429,"children":2431},{"type":2430},"info",[2432],{"type":173,"tag":200,"props":2433,"children":2434},{},[2435,2437,2442,2444,2449],{"type":197,"value":2436},"When you are in development mode, the module will automatically call ",{"type":173,"tag":204,"props":2438,"children":2439},{"className":167},[2440],{"type":197,"value":2441},"nuxtServerInit",{"type":197,"value":2443}," store action (if defined) and ",{"type":173,"tag":204,"props":2445,"children":2446},{"className":167},[2447],{"type":197,"value":2448},"$nuxt.refresh()",{"type":197,"value":2450}," to refresh the current page.",{"type":173,"tag":200,"props":2452,"children":2453},{},[2454,2456,2461,2463,2468],{"type":197,"value":2455},"In case you want to listen to the event to do something more, you can listen on ",{"type":173,"tag":204,"props":2457,"children":2458},{"className":167},[2459],{"type":197,"value":2460},"content:update",{"type":197,"value":2462}," event on client-side using ",{"type":173,"tag":204,"props":2464,"children":2465},{"className":167},[2466],{"type":197,"value":2467},"$nuxt.$on('content:update')",{"type":197,"value":290},{"type":173,"tag":244,"props":2470,"children":2473},{"className":246,"code":2471,"filename":2472,"language":248,"meta":167,"style":167},"export default function ({ store }) {\n  // Only in development\n  if (process.dev) {\n    window.onNuxtReady(($nuxt) => {\n      $nuxt.$on('content:update', ({ event, path }) => {\n        // Refresh the store categories\n        store.dispatch('fetchCategories')\n      })\n    })\n  }\n}\n","plugins/update.client.js",[2474],{"type":173,"tag":204,"props":2475,"children":2476},{"__ignoreMap":167},[2477,2512,2521,2555,2597,2664,2672,2710,2722,2734,2741],{"type":173,"tag":254,"props":2478,"children":2479},{"class":256,"line":257},[2480,2484,2488,2493,2498,2503,2508],{"type":173,"tag":254,"props":2481,"children":2482},{"style":261},[2483],{"type":197,"value":264},{"type":173,"tag":254,"props":2485,"children":2486},{"style":261},[2487],{"type":197,"value":269},{"type":173,"tag":254,"props":2489,"children":2490},{"style":353},[2491],{"type":197,"value":2492}," function",{"type":173,"tag":254,"props":2494,"children":2495},{"style":272},[2496],{"type":197,"value":2497}," ({",{"type":173,"tag":254,"props":2499,"children":2500},{"style":919},[2501],{"type":197,"value":2502}," store",{"type":173,"tag":254,"props":2504,"children":2505},{"style":272},[2506],{"type":197,"value":2507}," })",{"type":173,"tag":254,"props":2509,"children":2510},{"style":272},[2511],{"type":197,"value":275},{"type":173,"tag":254,"props":2513,"children":2514},{"class":256,"line":278},[2515],{"type":173,"tag":254,"props":2516,"children":2518},{"style":2517},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[2519],{"type":197,"value":2520},"  // Only in development\n",{"type":173,"tag":254,"props":2522,"children":2523},{"class":256,"line":299},[2524,2529,2533,2538,2542,2547,2551],{"type":173,"tag":254,"props":2525,"children":2526},{"style":261},[2527],{"type":197,"value":2528},"  if",{"type":173,"tag":254,"props":2530,"children":2531},{"style":282},[2532],{"type":197,"value":1232},{"type":173,"tag":254,"props":2534,"children":2535},{"style":293},[2536],{"type":197,"value":2537},"process",{"type":173,"tag":254,"props":2539,"children":2540},{"style":272},[2541],{"type":197,"value":218},{"type":173,"tag":254,"props":2543,"children":2544},{"style":293},[2545],{"type":197,"value":2546},"dev",{"type":173,"tag":254,"props":2548,"children":2549},{"style":282},[2550],{"type":197,"value":1267},{"type":173,"tag":254,"props":2552,"children":2553},{"style":272},[2554],{"type":197,"value":1683},{"type":173,"tag":254,"props":2556,"children":2557},{"class":256,"line":318},[2558,2563,2567,2572,2576,2580,2585,2589,2593],{"type":173,"tag":254,"props":2559,"children":2560},{"style":293},[2561],{"type":197,"value":2562},"    window",{"type":173,"tag":254,"props":2564,"children":2565},{"style":272},[2566],{"type":197,"value":218},{"type":173,"tag":254,"props":2568,"children":2569},{"style":402},[2570],{"type":197,"value":2571},"onNuxtReady",{"type":173,"tag":254,"props":2573,"children":2574},{"style":282},[2575],{"type":197,"value":410},{"type":173,"tag":254,"props":2577,"children":2578},{"style":272},[2579],{"type":197,"value":410},{"type":173,"tag":254,"props":2581,"children":2582},{"style":919},[2583],{"type":197,"value":2584},"$nuxt",{"type":173,"tag":254,"props":2586,"children":2587},{"style":272},[2588],{"type":197,"value":841},{"type":173,"tag":254,"props":2590,"children":2591},{"style":353},[2592],{"type":197,"value":927},{"type":173,"tag":254,"props":2594,"children":2595},{"style":272},[2596],{"type":197,"value":275},{"type":173,"tag":254,"props":2598,"children":2599},{"class":256,"line":332},[2600,2605,2609,2614,2618,2622,2626,2630,2634,2638,2643,2647,2652,2656,2660],{"type":173,"tag":254,"props":2601,"children":2602},{"style":293},[2603],{"type":197,"value":2604},"      $nuxt",{"type":173,"tag":254,"props":2606,"children":2607},{"style":272},[2608],{"type":197,"value":218},{"type":173,"tag":254,"props":2610,"children":2611},{"style":402},[2612],{"type":197,"value":2613},"$on",{"type":173,"tag":254,"props":2615,"children":2616},{"style":282},[2617],{"type":197,"value":410},{"type":173,"tag":254,"props":2619,"children":2620},{"style":272},[2621],{"type":197,"value":415},{"type":173,"tag":254,"props":2623,"children":2624},{"style":308},[2625],{"type":197,"value":2460},{"type":173,"tag":254,"props":2627,"children":2628},{"style":272},[2629],{"type":197,"value":415},{"type":173,"tag":254,"props":2631,"children":2632},{"style":272},[2633],{"type":197,"value":1341},{"type":173,"tag":254,"props":2635,"children":2636},{"style":272},[2637],{"type":197,"value":2497},{"type":173,"tag":254,"props":2639,"children":2640},{"style":919},[2641],{"type":197,"value":2642}," event",{"type":173,"tag":254,"props":2644,"children":2645},{"style":272},[2646],{"type":197,"value":1341},{"type":173,"tag":254,"props":2648,"children":2649},{"style":919},[2650],{"type":197,"value":2651}," path",{"type":173,"tag":254,"props":2653,"children":2654},{"style":272},[2655],{"type":197,"value":2507},{"type":173,"tag":254,"props":2657,"children":2658},{"style":353},[2659],{"type":197,"value":927},{"type":173,"tag":254,"props":2661,"children":2662},{"style":272},[2663],{"type":197,"value":275},{"type":173,"tag":254,"props":2665,"children":2666},{"class":256,"line":349},[2667],{"type":173,"tag":254,"props":2668,"children":2669},{"style":2517},[2670],{"type":197,"value":2671},"        // Refresh the store categories\n",{"type":173,"tag":254,"props":2673,"children":2674},{"class":256,"line":373},[2675,2680,2684,2689,2693,2697,2702,2706],{"type":173,"tag":254,"props":2676,"children":2677},{"style":293},[2678],{"type":197,"value":2679},"        store",{"type":173,"tag":254,"props":2681,"children":2682},{"style":272},[2683],{"type":197,"value":218},{"type":173,"tag":254,"props":2685,"children":2686},{"style":402},[2687],{"type":197,"value":2688},"dispatch",{"type":173,"tag":254,"props":2690,"children":2691},{"style":282},[2692],{"type":197,"value":410},{"type":173,"tag":254,"props":2694,"children":2695},{"style":272},[2696],{"type":197,"value":415},{"type":173,"tag":254,"props":2698,"children":2699},{"style":308},[2700],{"type":197,"value":2701},"fetchCategories",{"type":173,"tag":254,"props":2703,"children":2704},{"style":272},[2705],{"type":197,"value":415},{"type":173,"tag":254,"props":2707,"children":2708},{"style":282},[2709],{"type":197,"value":428},{"type":173,"tag":254,"props":2711,"children":2712},{"class":256,"line":431},[2713,2718],{"type":173,"tag":254,"props":2714,"children":2715},{"style":272},[2716],{"type":197,"value":2717},"      }",{"type":173,"tag":254,"props":2719,"children":2720},{"style":282},[2721],{"type":197,"value":428},{"type":173,"tag":254,"props":2723,"children":2724},{"class":256,"line":508},[2725,2730],{"type":173,"tag":254,"props":2726,"children":2727},{"style":272},[2728],{"type":197,"value":2729},"    }",{"type":173,"tag":254,"props":2731,"children":2732},{"style":282},[2733],{"type":197,"value":428},{"type":173,"tag":254,"props":2735,"children":2736},{"class":256,"line":539},[2737],{"type":173,"tag":254,"props":2738,"children":2739},{"style":272},[2740],{"type":197,"value":554},{"type":173,"tag":254,"props":2742,"children":2743},{"class":256,"line":548},[2744],{"type":173,"tag":254,"props":2745,"children":2746},{"style":272},[2747],{"type":197,"value":563},{"type":173,"tag":200,"props":2749,"children":2750},{},[2751,2753,2757],{"type":197,"value":2752},"And then add your plugin in your ",{"type":173,"tag":204,"props":2754,"children":2755},{"className":167},[2756],{"type":197,"value":643},{"type":197,"value":290},{"type":173,"tag":244,"props":2759,"children":2761},{"className":246,"code":2760,"filename":643,"language":248,"meta":167,"style":167},"export default {\n  plugins: [\n    '@/plugins/update.client.js'\n  ]\n}\n",[2762],{"type":173,"tag":204,"props":2763,"children":2764},{"__ignoreMap":167},[2765,2780,2796,2812,2820],{"type":173,"tag":254,"props":2766,"children":2767},{"class":256,"line":257},[2768,2772,2776],{"type":173,"tag":254,"props":2769,"children":2770},{"style":261},[2771],{"type":197,"value":264},{"type":173,"tag":254,"props":2773,"children":2774},{"style":261},[2775],{"type":197,"value":269},{"type":173,"tag":254,"props":2777,"children":2778},{"style":272},[2779],{"type":197,"value":275},{"type":173,"tag":254,"props":2781,"children":2782},{"class":256,"line":278},[2783,2788,2792],{"type":173,"tag":254,"props":2784,"children":2785},{"style":282},[2786],{"type":197,"value":2787},"  plugins",{"type":173,"tag":254,"props":2789,"children":2790},{"style":272},[2791],{"type":197,"value":290},{"type":173,"tag":254,"props":2793,"children":2794},{"style":293},[2795],{"type":197,"value":296},{"type":173,"tag":254,"props":2797,"children":2798},{"class":256,"line":299},[2799,2803,2808],{"type":173,"tag":254,"props":2800,"children":2801},{"style":272},[2802],{"type":197,"value":305},{"type":173,"tag":254,"props":2804,"children":2805},{"style":308},[2806],{"type":197,"value":2807},"@/plugins/update.client.js",{"type":173,"tag":254,"props":2809,"children":2810},{"style":272},[2811],{"type":197,"value":315},{"type":173,"tag":254,"props":2813,"children":2814},{"class":256,"line":318},[2815],{"type":173,"tag":254,"props":2816,"children":2817},{"style":293},[2818],{"type":197,"value":2819},"  ]\n",{"type":173,"tag":254,"props":2821,"children":2822},{"class":256,"line":332},[2823],{"type":173,"tag":254,"props":2824,"children":2825},{"style":272},[2826],{"type":197,"value":563},{"type":173,"tag":200,"props":2828,"children":2829},{},[2830,2832,2836,2838,2842,2844,2851],{"type":197,"value":2831},"Now everytime you will update a file in your ",{"type":173,"tag":204,"props":2833,"children":2834},{"className":167},[2835],{"type":197,"value":598},{"type":197,"value":2837}," directory, it will also dispatch the ",{"type":173,"tag":204,"props":2839,"children":2840},{"className":167},[2841],{"type":197,"value":2701},{"type":197,"value":2843}," method.\nThis documentation uses it actually. You can learn more by looking at ",{"type":173,"tag":611,"props":2845,"children":2848},{"href":2846,"rel":2847},"https://github.com/nuxt/content/blob/v1.5.0/docs/plugins/init.js",[615],[2849],{"type":197,"value":2850},"plugins/init.js",{"type":197,"value":218},{"type":173,"tag":192,"props":2853,"children":2855},{"id":2854},"api-endpoint",[2856],{"type":197,"value":2857},"API Endpoint",{"type":173,"tag":200,"props":2859,"children":2860},{},[2861,2863,2869,2871,2876,2878,2884],{"type":197,"value":2862},"This module exposes an API endpoint in development so you can easily see the JSON of each directory or file, it is available on ",{"type":173,"tag":611,"props":2864,"children":2867},{"href":2865,"rel":2866},"http://localhost:3000/_content/",[615],[2868],{"type":197,"value":2865},{"type":197,"value":2870},". The prefix is ",{"type":173,"tag":204,"props":2872,"children":2873},{"className":167},[2874],{"type":197,"value":2875},"_content",{"type":197,"value":2877}," by default and can be configured with the ",{"type":173,"tag":611,"props":2879,"children":2881},{"href":2880},"/v1/getting-started/configuration#apiprefix",[2882],{"type":197,"value":2883},"apiPrefix",{"type":197,"value":2885}," property.",{"type":173,"tag":200,"props":2887,"children":2888},{},[2889],{"type":173,"tag":212,"props":2890,"children":2891},{},[2892],{"type":197,"value":639},{"type":173,"tag":244,"props":2894,"children":2898},{"className":2895,"code":2896,"language":2897,"meta":167,"style":167},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","-| content/\n---| articles/\n------| hello-world.md\n---| index.md\n---| settings.json\n","bash",[2899],{"type":173,"tag":204,"props":2900,"children":2901},{"__ignoreMap":167},[2902,2920,2937,2954,2970],{"type":173,"tag":254,"props":2903,"children":2904},{"class":256,"line":257},[2905,2910,2915],{"type":173,"tag":254,"props":2906,"children":2907},{"style":1168},[2908],{"type":197,"value":2909},"-",{"type":173,"tag":254,"props":2911,"children":2912},{"style":272},[2913],{"type":197,"value":2914},"|",{"type":173,"tag":254,"props":2916,"children":2917},{"style":1168},[2918],{"type":197,"value":2919}," content/\n",{"type":173,"tag":254,"props":2921,"children":2922},{"class":256,"line":278},[2923,2928,2932],{"type":173,"tag":254,"props":2924,"children":2925},{"style":1168},[2926],{"type":197,"value":2927},"---",{"type":173,"tag":254,"props":2929,"children":2930},{"style":272},[2931],{"type":197,"value":2914},{"type":173,"tag":254,"props":2933,"children":2934},{"style":1168},[2935],{"type":197,"value":2936}," articles/\n",{"type":173,"tag":254,"props":2938,"children":2939},{"class":256,"line":299},[2940,2945,2949],{"type":173,"tag":254,"props":2941,"children":2942},{"style":1168},[2943],{"type":197,"value":2944},"------",{"type":173,"tag":254,"props":2946,"children":2947},{"style":272},[2948],{"type":197,"value":2914},{"type":173,"tag":254,"props":2950,"children":2951},{"style":1168},[2952],{"type":197,"value":2953}," hello-world.md\n",{"type":173,"tag":254,"props":2955,"children":2956},{"class":256,"line":318},[2957,2961,2965],{"type":173,"tag":254,"props":2958,"children":2959},{"style":1168},[2960],{"type":197,"value":2927},{"type":173,"tag":254,"props":2962,"children":2963},{"style":272},[2964],{"type":197,"value":2914},{"type":173,"tag":254,"props":2966,"children":2967},{"style":1168},[2968],{"type":197,"value":2969}," index.md\n",{"type":173,"tag":254,"props":2971,"children":2972},{"class":256,"line":332},[2973,2977,2981],{"type":173,"tag":254,"props":2974,"children":2975},{"style":1168},[2976],{"type":197,"value":2927},{"type":173,"tag":254,"props":2978,"children":2979},{"style":272},[2980],{"type":197,"value":2914},{"type":173,"tag":254,"props":2982,"children":2983},{"style":1168},[2984],{"type":197,"value":2985}," settings.json\n",{"type":173,"tag":200,"props":2987,"children":2988},{},[2989,2991,2996],{"type":197,"value":2990},"Will expose on ",{"type":173,"tag":204,"props":2992,"children":2993},{"className":167},[2994],{"type":197,"value":2995},"localhost:3000",{"type":197,"value":290},{"type":173,"tag":1065,"props":2998,"children":2999},{},[3000,3015,3032,3047,3062],{"type":173,"tag":1069,"props":3001,"children":3002},{},[3003,3008,3010],{"type":173,"tag":204,"props":3004,"children":3005},{"className":167},[3006],{"type":197,"value":3007},"/_content/articles",{"type":197,"value":3009},": list the files in ",{"type":173,"tag":204,"props":3011,"children":3012},{"className":167},[3013],{"type":197,"value":3014},"content/articles/",{"type":173,"tag":1069,"props":3016,"children":3017},{},[3018,3023,3025,3030],{"type":173,"tag":204,"props":3019,"children":3020},{"className":167},[3021],{"type":197,"value":3022},"/_content/articles/hello-world",{"type":197,"value":3024},": get ",{"type":173,"tag":204,"props":3026,"children":3027},{"className":167},[3028],{"type":197,"value":3029},"hello-world.md",{"type":197,"value":3031}," as JSON",{"type":173,"tag":1069,"props":3033,"children":3034},{},[3035,3040,3041,3046],{"type":173,"tag":204,"props":3036,"children":3037},{"className":167},[3038],{"type":197,"value":3039},"/_content/index",{"type":197,"value":3024},{"type":173,"tag":204,"props":3042,"children":3043},{"className":167},[3044],{"type":197,"value":3045},"index.md",{"type":197,"value":3031},{"type":173,"tag":1069,"props":3048,"children":3049},{},[3050,3055,3056,3061],{"type":173,"tag":204,"props":3051,"children":3052},{"className":167},[3053],{"type":197,"value":3054},"/_content/settings",{"type":197,"value":3024},{"type":173,"tag":204,"props":3057,"children":3058},{"className":167},[3059],{"type":197,"value":3060},"settings.json",{"type":197,"value":3031},{"type":173,"tag":1069,"props":3063,"children":3064},{},[3065,3070,3072,3077,3079],{"type":173,"tag":204,"props":3066,"children":3067},{"className":167},[3068],{"type":197,"value":3069},"/_content",{"type":197,"value":3071},": list ",{"type":173,"tag":204,"props":3073,"children":3074},{"className":167},[3075],{"type":197,"value":3076},"index",{"type":197,"value":3078}," and ",{"type":173,"tag":204,"props":3080,"children":3081},{"className":167},[3082],{"type":197,"value":3083},"settings",{"type":173,"tag":200,"props":3085,"children":3086},{},[3087,3089,3094,3095,3100,3102,3108],{"type":197,"value":3088},"The endpoint is accessible on ",{"type":173,"tag":204,"props":3090,"children":3091},{"className":167},[3092],{"type":197,"value":3093},"GET",{"type":197,"value":3078},{"type":173,"tag":204,"props":3096,"children":3097},{"className":167},[3098],{"type":197,"value":3099},"POST",{"type":197,"value":3101}," request, so you can use query params: ",{"type":173,"tag":611,"props":3103,"children":3106},{"href":3104,"rel":3105},"http://localhost:3000/_content/articles?only=title&only=description&limit=10",[615],[3107],{"type":197,"value":3104},{"type":197,"value":218},{"type":173,"tag":200,"props":3110,"children":3111},{},[3112,3114,3119,3121,3126],{"type":197,"value":3113},"Since ",{"type":173,"tag":212,"props":3115,"children":3116},{},[3117],{"type":197,"value":3118},"v1.4.0",{"type":197,"value":3120},", this endpoint also supports ",{"type":173,"tag":204,"props":3122,"children":3123},{"className":167},[3124],{"type":197,"value":3125},"where",{"type":197,"value":3127}," in query params:",{"type":173,"tag":1065,"props":3129,"children":3130},{},[3131],{"type":173,"tag":1069,"props":3132,"children":3133},{},[3134,3136],{"type":197,"value":3135},"All the keys that don't belong to any of the default ones will be applied to ",{"type":173,"tag":204,"props":3137,"children":3138},{"className":167},[3139],{"type":197,"value":3125},{"type":173,"tag":200,"props":3141,"children":3142},{},[3143],{"type":173,"tag":204,"props":3144,"children":3145},{"className":167},[3146],{"type":197,"value":3147},"http://localhost:3000/_content/articles?author=...",{"type":173,"tag":1065,"props":3149,"children":3150},{},[3151],{"type":173,"tag":1069,"props":3152,"children":3153},{},[3154,3156,3161,3163,3168],{"type":197,"value":3155},"You can use ",{"type":173,"tag":204,"props":3157,"children":3158},{"className":167},[3159],{"type":197,"value":3160},"$operators",{"type":197,"value":3162}," with ",{"type":173,"tag":204,"props":3164,"children":3165},{"className":167},[3166],{"type":197,"value":3167},"_",{"type":197,"value":290},{"type":173,"tag":200,"props":3170,"children":3171},{},[3172],{"type":173,"tag":204,"props":3173,"children":3174},{"className":167},[3175],{"type":197,"value":3176},"http://localhost:3000/_content/articles?author_regex=...",{"type":173,"tag":602,"props":3178,"children":3179},{},[3180],{"type":173,"tag":200,"props":3181,"children":3182},{},[3183,3185,3192],{"type":197,"value":3184},"This module uses LokiJS under the hood. You can check here for ",{"type":173,"tag":611,"props":3186,"children":3189},{"href":3187,"rel":3188},"https://github.com/techfort/LokiJS/wiki/Query-Examples#find-queries",[615],[3190],{"type":197,"value":3191},"query examples",{"type":197,"value":218},{"type":173,"tag":1065,"props":3194,"children":3195},{},[3196],{"type":173,"tag":1069,"props":3197,"children":3198},{},[3199,3200,3206],{"type":197,"value":3155},{"type":173,"tag":611,"props":3201,"children":3203},{"href":3202},"/v1/getting-started/configuration#nestedproperties",[3204],{"type":197,"value":3205},"nested properties",{"type":197,"value":290},{"type":173,"tag":200,"props":3208,"children":3209},{},[3210],{"type":173,"tag":204,"props":3211,"children":3212},{"className":167},[3213],{"type":197,"value":3214},"http://localhost:3000/_content/products?categories.slug_contains=top",{"type":173,"tag":602,"props":3216,"children":3217},{},[3218],{"type":173,"tag":200,"props":3219,"children":3220},{},[3221,3223,3230],{"type":197,"value":3222},"You can learn more about that endpoint in ",{"type":173,"tag":611,"props":3224,"children":3227},{"href":3225,"rel":3226},"https://github.com/nuxt/content/blob/v1/packages/content/lib/middleware.js",[615],[3228],{"type":197,"value":3229},"lib/middleware.js",{"type":197,"value":218},{"type":173,"tag":3232,"props":3233,"children":3234},"style",{},[3235],{"type":197,"value":3236},"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":278,"depth":278,"links":3238},[3239,3242,3247,3248],{"id":194,"depth":278,"text":198,"children":3240},[3241],{"id":567,"depth":299,"text":570},{"id":1037,"depth":278,"text":107,"children":3243},[3244,3245,3246],{"id":1047,"depth":299,"text":1053},{"id":1374,"depth":299,"text":1380},{"id":2173,"depth":299,"text":2179},{"id":2424,"depth":278,"text":2427},{"id":2854,"depth":278,"text":2857},"content:7.v1:1.getting-started:7.advanced.md","7.v1/1.getting-started/7.advanced.md",{"_path":150,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":149,"description":3252,"body":3253,"_type":180,"_id":3261,"_source":182,"_file":3262,"_extension":184},"Live example of Nuxt Content with TailwindCSS Typography plugin on CodeSandbox.",{"type":170,"children":3254,"toc":3259},[3255],{"type":173,"tag":174,"props":3256,"children":3258},{":src":3257,"height":177,"width":178},"https://codesandbox.io/embed/nuxt-content-tailwindcss-typography-xq04z?hidenavigation=1&theme=dark",[],{"title":167,"searchDepth":278,"depth":278,"links":3260},[],"content:7.v1:2.examples:2.tailwindcss-typography.md","7.v1/2.examples/2.tailwindcss-typography.md",1699441249305]