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