[{"data":1,"prerenderedAt":1141},["Reactive",2],{"navigation":3,"docs-/v1/getting-started/introduction":158,"docs-/v1/getting-started/introduction-surround":595},[4,20,42,61,86,96,109],{"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],{"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},"Fetch Navigation","/usage/navigation",{"title":40,"_path":41},"TypeScript Support","/usage/typescript",{"title":43,"_path":44,"children":45},"Composables","/composables",[46,49,52,55,58],{"title":47,"_path":48},"queryContent()","/composables/query-content",{"title":50,"_path":51},"fetchContentNavigation()","/composables/fetch-content-navigation",{"title":53,"_path":54},"useContentHead()","/composables/use-content-head",{"title":56,"_path":57},"useContentHelpers()","/composables/use-content-helpers",{"title":59,"_path":60},"useUnwrap()","/composables/use-unwrap",{"title":62,"_path":63,"children":64},"Components","/components",[65,68,71,74,77,80,83],{"title":66,"_path":67},"\u003CContentDoc>","/components/content-doc",{"title":69,"_path":70},"\u003CContentRenderer>","/components/content-renderer",{"title":72,"_path":73},"\u003CContentList>","/components/content-list",{"title":75,"_path":76},"\u003CContentNavigation>","/components/content-navigation",{"title":78,"_path":79},"\u003CContentQuery>","/components/content-query",{"title":81,"_path":82},"\u003CContentSlot>","/components/content-slot",{"title":84,"_path":85},"Prose Components","/components/prose",{"title":87,"_path":88,"children":89},"Document Driven","/document-driven",[90,93],{"title":91,"_path":92},"Introduction","/document-driven/introduction",{"title":94,"_path":95},"useContent()","/document-driven/use-content",{"title":97,"_path":98,"children":99},"Recipes","/recipes",[100,103,106],{"title":101,"_path":102},"Hooks","/recipes/hooks",{"title":104,"_path":105},"Transformers","/recipes/transformers",{"title":107,"_path":108},"Sitemap","/recipes/sitemap",{"title":110,"_path":111,"children":112},"V1","/v1",[113,135,148],{"title":114,"_path":115,"children":116},"Getting Started","/v1/getting-started",[117,119,121,124,127,130,132],{"title":91,"_path":118},"/v1/getting-started/introduction",{"title":9,"_path":120},"/v1/getting-started/installation",{"title":122,"_path":123},"Writing content","/v1/getting-started/writing",{"title":125,"_path":126},"Fetching content","/v1/getting-started/fetching",{"title":128,"_path":129},"Displaying content","/v1/getting-started/displaying",{"title":12,"_path":131},"/v1/getting-started/configuration",{"title":133,"_path":134},"Advanced","/v1/getting-started/advanced",{"title":136,"_path":137,"children":138},"Examples","/v1/examples",[139,142,145],{"title":140,"_path":141},"Basic Usage","/v1/examples/basic",{"title":143,"_path":144},"TailwindCSS","/v1/examples/tailwindcss-typography",{"title":146,"_path":147},"Docs Theme","/v1/examples/docs-theme",{"title":149,"_path":150,"children":151},"Community","/v1/community",[152,155],{"title":153,"_path":154},"Snippets","/v1/community/snippets",{"title":156,"_path":157},"Integrations","/v1/community/integrations",{"_path":118,"_dir":159,"_draft":160,"_partial":160,"_locale":161,"title":91,"description":162,"body":163,"_type":590,"_id":591,"_source":592,"_file":593,"_extension":594},"getting-started",false,"","Empower your NuxtJS application with the @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB-like API, acting as a Git-based Headless CMS.",{"type":164,"children":165,"toc":583},"root",[166,175,236,242,262,288,300,319,325,337,343,372,408,446,469,498,529,560],{"type":167,"tag":168,"props":169,"children":171},"element","h2",{"id":170},"features",[172],{"type":173,"value":174},"text","Features",{"type":167,"tag":176,"props":177,"children":178},"ul",{},[179,185,190,195,206,211,216,221,226,231],{"type":167,"tag":180,"props":181,"children":182},"li",{},[183],{"type":173,"value":184},"Blazing fast hot reload in development",{"type":167,"tag":180,"props":186,"children":187},{},[188],{"type":173,"value":189},"Vue components in Markdown",{"type":167,"tag":180,"props":191,"children":192},{},[193],{"type":173,"value":194},"Full-text search",{"type":167,"tag":180,"props":196,"children":197},{},[198,200],{"type":173,"value":199},"Support static site generation with ",{"type":167,"tag":201,"props":202,"children":203},"code",{},[204],{"type":173,"value":205},"nuxt generate",{"type":167,"tag":180,"props":207,"children":208},{},[209],{"type":173,"value":210},"Powerful QueryBuilder API (MongoDB like)",{"type":167,"tag":180,"props":212,"children":213},{},[214],{"type":173,"value":215},"Syntax highlighting to code blocks in markdown files using PrismJS.",{"type":167,"tag":180,"props":217,"children":218},{},[219],{"type":173,"value":220},"Table of contents generation",{"type":167,"tag":180,"props":222,"children":223},{},[224],{"type":173,"value":225},"Handles Markdown, CSV, YAML, JSON(5), XML",{"type":167,"tag":180,"props":227,"children":228},{},[229],{"type":173,"value":230},"Extend with custom parsers",{"type":167,"tag":180,"props":232,"children":233},{},[234],{"type":173,"value":235},"Extend with hooks",{"type":167,"tag":168,"props":237,"children":239},{"id":238},"videos",[240],{"type":173,"value":241},"Videos",{"type":167,"tag":243,"props":244,"children":245},"p",{},[246,248,253,255,260],{"type":173,"value":247},"Demonstration of using ",{"type":167,"tag":201,"props":249,"children":250},{},[251],{"type":173,"value":252},"$content",{"type":173,"value":254}," and ",{"type":167,"tag":201,"props":256,"children":257},{},[258],{"type":173,"value":259},"\u003Cnuxt-content>",{"type":173,"value":261}," to display Markdown pages:",{"type":167,"tag":263,"props":264,"children":267},"video",{"poster":265,"loop":266,"playsInline":266,"controls":266},"https://res.cloudinary.com/nuxt/video/upload/v1588091670/nuxt-content_wxnjje.jpg",true,[268,270,276,277,282,283],{"type":173,"value":269},"\n  ",{"type":167,"tag":271,"props":272,"children":275},"source",{"src":273,"type":274},"https://res.cloudinary.com/nuxt/video/upload/q_auto/v1588091670/nuxt-content_wxnjje.webm","video/webm",[],{"type":173,"value":269},{"type":167,"tag":271,"props":278,"children":281},{"src":279,"type":280},"https://res.cloudinary.com/nuxt/video/upload/q_auto/v1588091670/nuxt-content_wxnjje.mp4","video/mp4",[],{"type":173,"value":269},{"type":167,"tag":271,"props":284,"children":287},{"src":285,"type":286},"https://res.cloudinary.com/nuxt/video/upload/q_auto/v1588091670/nuxt-content_wxnjje.ogv","video/ogg",[],{"type":167,"tag":243,"props":289,"children":290},{},[291,293,298],{"type":173,"value":292},"Using ",{"type":167,"tag":201,"props":294,"children":295},{},[296],{"type":173,"value":297},"$content()",{"type":173,"value":299}," on a directory to list, filter and search content:",{"type":167,"tag":263,"props":301,"children":303},{"poster":302,"loop":266,"playsInline":266,"controls":266},"https://res.cloudinary.com/nuxt/video/upload/v1588095794/nuxt-content-movies_c0cq9p.jpg",[304,305,309,310,314,315],{"type":173,"value":269},{"type":167,"tag":271,"props":306,"children":308},{"src":307,"type":274},"https://res.cloudinary.com/nuxt/video/upload/q_auto/v1588095794/nuxt-content-movies_c0cq9p.webm",[],{"type":173,"value":269},{"type":167,"tag":271,"props":311,"children":313},{"src":312,"type":280},"https://res.cloudinary.com/nuxt/video/upload/q_auto/v1588095794/nuxt-content-movies_c0cq9p.mp4",[],{"type":173,"value":269},{"type":167,"tag":271,"props":316,"children":318},{"src":317,"type":286},"https://res.cloudinary.com/nuxt/video/upload/q_auto/v1588095794/nuxt-content-movies_c0cq9p.ogv",[],{"type":167,"tag":168,"props":320,"children":322},{"id":321},"tutorial",[323],{"type":173,"value":324},"Tutorial",{"type":167,"tag":243,"props":326,"children":327},{},[328],{"type":167,"tag":329,"props":330,"children":334},"a",{"href":331,"rel":332},"https://v2.nuxt.com/tutorials/creating-blog-with-nuxt-content/",[333],"nofollow",[335],{"type":173,"value":336},"Create a blog with Nuxt Content",{"type":167,"tag":168,"props":338,"children":340},{"id":339},"testimonials",[341],{"type":173,"value":342},"Testimonials",{"type":167,"tag":344,"props":345,"children":348},"blockquote",{"className":346},[347],"twitter-tweet",[349,364,366],{"type":167,"tag":243,"props":350,"children":353},{"lang":351,"dir":352},"en","ltr",[354,356,362],{"type":173,"value":355},"Really enjoy working with the ",{"type":167,"tag":329,"props":357,"children":359},{"href":358},"https://twitter.com/nuxt_js?ref_src=twsrc%5Etfw",[360],{"type":173,"value":361},"@nuxt_js",{"type":173,"value":363}," content module more and more. Especially from a developer perspective. The api is easy to learn and really powerful. Give it a try if you haven't already.",{"type":173,"value":365},"— Rasmus Langvad (@rlangvad) ",{"type":167,"tag":329,"props":367,"children":369},{"href":368},"https://twitter.com/rlangvad/status/1352940444200669186?ref_src=twsrc%5Etfw",[370],{"type":173,"value":371},"January 23, 2021",{"type":167,"tag":344,"props":373,"children":375},{"className":374},[347],[376,400,402],{"type":167,"tag":243,"props":377,"children":378},{"lang":351,"dir":352},[379,381,387,389,393,395],{"type":173,"value":380},"Adding an FAQ to ",{"type":167,"tag":329,"props":382,"children":384},{"href":383},"https://twitter.com/turnaudio?ref_src=twsrc%5Etfw",[385],{"type":173,"value":386},"@TurnAudio",{"type":173,"value":388}," using ",{"type":167,"tag":329,"props":390,"children":391},{"href":358},[392],{"type":173,"value":361},{"type":173,"value":394}," nuxt/content. Really great module for organizing a little bit of content within your static website ",{"type":167,"tag":329,"props":396,"children":398},{"href":397},"https://t.co/o2uA9Lvmuu",[399],{"type":173,"value":397},{"type":173,"value":401},"— Lee Martin (@leemartin) ",{"type":167,"tag":329,"props":403,"children":405},{"href":404},"https://twitter.com/leemartin/status/1290374428107341830?ref_src=twsrc%5Etfw",[406],{"type":173,"value":407},"August 3, 2020",{"type":167,"tag":344,"props":409,"children":411},{"className":410},[347],[412,438,440],{"type":167,"tag":243,"props":413,"children":414},{"lang":351,"dir":352},[415,417,421,423,427,430,432],{"type":173,"value":416},"Wanted to try out ",{"type":167,"tag":329,"props":418,"children":419},{"href":358},[420],{"type":173,"value":361},{"type":173,"value":422}," new content theme doc, was a blast!",{"type":167,"tag":424,"props":425,"children":426},"br",{},[],{"type":167,"tag":424,"props":428,"children":429},{},[],{"type":173,"value":431},"Managed to hack its interals to extend its Tailwind config with mine hihihi... ",{"type":167,"tag":329,"props":433,"children":435},{"href":434},"https://t.co/fuXXOBKXYE",[436],{"type":173,"value":437},"pic.twitter.com/fuXXOBKXYE",{"type":173,"value":439},"— lihbr (@li_hbr) ",{"type":167,"tag":329,"props":441,"children":443},{"href":442},"https://twitter.com/li_hbr/status/1289536277897834497?ref_src=twsrc%5Etfw",[444],{"type":173,"value":445},"August 1, 2020",{"type":167,"tag":344,"props":447,"children":449},{"className":448},[347],[450,461,463],{"type":167,"tag":243,"props":451,"children":452},{"lang":351,"dir":352},[453,455,459],{"type":173,"value":454},"On an upper ",{"type":167,"tag":329,"props":456,"children":457},{"href":358},[458],{"type":173,"value":361},{"type":173,"value":460}," is the most exciting thing in web for me right now, everything they put out is golden. The content module is phenomenal.",{"type":173,"value":462},"— Liam Hall - Three Bears (@wearethreebears) ",{"type":167,"tag":329,"props":464,"children":466},{"href":465},"https://twitter.com/wearethreebears/status/1289345099214725120?ref_src=twsrc%5Etfw",[467],{"type":173,"value":468},"July 31, 2020",{"type":167,"tag":344,"props":470,"children":472},{"className":471},[347],[473,491,493],{"type":167,"tag":243,"props":474,"children":475},{"lang":351,"dir":352},[476,478,484,485,489],{"type":173,"value":477},"I've been working on a new portfolio/blog today with ",{"type":167,"tag":329,"props":479,"children":481},{"href":480},"https://twitter.com/tailwindcss?ref_src=twsrc%5Etfw",[482],{"type":173,"value":483},"@tailwindcss",{"type":173,"value":254},{"type":167,"tag":329,"props":486,"children":487},{"href":358},[488],{"type":173,"value":361},{"type":173,"value":490},". I'm blown away by Nuxt Content.",{"type":173,"value":492},"— Cameron Baney (@cameronbaney) ",{"type":167,"tag":329,"props":494,"children":496},{"href":495},"https://twitter.com/cameronbaney/status/1289671455559413761?ref_src=twsrc%5Etfw",[497],{"type":173,"value":445},{"type":167,"tag":344,"props":499,"children":501},{"className":500},[347],[502,521,523],{"type":167,"tag":243,"props":503,"children":504},{"lang":351,"dir":352},[505,507,511,513,519],{"type":173,"value":506},"Docs powered by the new ",{"type":167,"tag":329,"props":508,"children":509},{"href":358},[510],{"type":173,"value":361},{"type":173,"value":512}," content plugin and stored in ",{"type":167,"tag":329,"props":514,"children":516},{"href":515},"https://twitter.com/Netlify?ref_src=twsrc%5Etfw",[517],{"type":173,"value":518},"@Netlify",{"type":173,"value":520}," what a time to be a developer",{"type":173,"value":522},"— Alfonso Bribiesca (@alfonsobries) ",{"type":167,"tag":329,"props":524,"children":526},{"href":525},"https://twitter.com/alfonsobries/status/1288653236833062913?ref_src=twsrc%5Etfw",[527],{"type":173,"value":528},"July 30, 2020",{"type":167,"tag":344,"props":530,"children":532},{"className":531},[347],[533,552,554],{"type":167,"tag":243,"props":534,"children":535},{"lang":351,"dir":352},[536,538,542,544,547,550],{"type":173,"value":537},"The new vee-validate v4 documentation is using ",{"type":167,"tag":329,"props":539,"children":540},{"href":358},[541],{"type":173,"value":361},{"type":173,"value":543}," content module and so far it is too damn good 🔥",{"type":167,"tag":424,"props":545,"children":546},{},[],{"type":167,"tag":424,"props":548,"children":549},{},[],{"type":173,"value":551},"I like being able to create my own layouts and \"on this page\" and \"menu\" components, in other words, to be in full control 🎮",{"type":173,"value":553},"— Abdelrahman Awad (@logaretm) ",{"type":167,"tag":329,"props":555,"children":557},{"href":556},"https://twitter.com/logaretm/status/1287526576847048705?ref_src=twsrc%5Etfw",[558],{"type":173,"value":559},"July 26, 2020",{"type":167,"tag":344,"props":561,"children":563},{"className":562},[347],[564,575,577],{"type":167,"tag":243,"props":565,"children":566},{"lang":351,"dir":352},[567,569,573],{"type":173,"value":568},"Decided to build a blog with ",{"type":167,"tag":329,"props":570,"children":571},{"href":358},[572],{"type":173,"value":361},{"type":173,"value":574}," content module. I mean, it's rapid and lightning quick to setup. Super nice experience thus far 👌",{"type":173,"value":576},"— 𝖊𝖗𝖉 (@erd_xyz) ",{"type":167,"tag":329,"props":578,"children":580},{"href":579},"https://twitter.com/erd_xyz/status/1286395125447483394?ref_src=twsrc%5Etfw",[581],{"type":173,"value":582},"July 23, 2020",{"title":161,"searchDepth":584,"depth":584,"links":585},2,[586,587,588,589],{"id":170,"depth":584,"text":174},{"id":238,"depth":584,"text":241},{"id":321,"depth":584,"text":324},{"id":339,"depth":584,"text":342},"markdown","content:7.v1:1.getting-started:1.introduction.md","content","7.v1/1.getting-started/1.introduction.md","md",[596,626],{"_path":597,"_dir":598,"_draft":160,"_partial":266,"_locale":161,"title":599,"description":600,"body":601,"_type":590,"_id":624,"_source":592,"_file":625,"_extension":594},"/_partials/hello-world","_partials","I am a partial","With some Hello World text.",{"type":164,"children":602,"toc":622},[603,609,613],{"type":167,"tag":604,"props":605,"children":607},"h1",{"id":606},"i-am-a-partial",[608],{"type":173,"value":599},{"type":167,"tag":243,"props":610,"children":611},{},[612],{"type":173,"value":600},{"type":167,"tag":614,"props":615,"children":619},"button-link",{":blank":616,"class":617,"href":618},"true","mr-2","https://stackblitz.com/github/nuxt/starter/tree/content",[620],{"type":173,"value":621},"Play on StackBlitz",{"title":161,"searchDepth":584,"depth":584,"links":623},[],"content:_partials:hello-world.md","_partials/hello-world.md",{"_path":120,"_dir":159,"_draft":160,"_partial":160,"_locale":161,"title":9,"description":627,"body":628,"_type":590,"_id":1139,"_source":592,"_file":1140,"_extension":594},"Install @nuxt/content in only two steps in your Nuxt project.",{"type":164,"children":629,"toc":1136},[630,642,723,748,887,893,912,921,1080,1130],{"type":167,"tag":243,"props":631,"children":632},{},[633,635,640],{"type":173,"value":634},"Add ",{"type":167,"tag":201,"props":636,"children":637},{},[638],{"type":173,"value":639},"@nuxt/content",{"type":173,"value":641}," dependency to your project:",{"type":167,"tag":643,"props":644,"children":645},"code-group",{},[646,690],{"type":167,"tag":647,"props":648,"children":653},"pre",{"className":649,"code":650,"filename":651,"language":652,"meta":161},"language-bash solarized-light_dark-plus_material-theme-lighter","yarn add @nuxt/content@^1\n","Yarn","bash",[654],{"type":167,"tag":201,"props":655,"children":656},{"__ignoreMap":161},[657],{"type":167,"tag":658,"props":659,"children":662},"span",{"class":660,"line":661},"line",1,[663,669,675,681,685],{"type":167,"tag":658,"props":664,"children":666},{"class":665},"ct-560301",[667],{"type":173,"value":668},"yarn",{"type":167,"tag":658,"props":670,"children":672},{"class":671},"ct-916772",[673],{"type":173,"value":674}," ",{"type":167,"tag":658,"props":676,"children":678},{"class":677},"ct-084644",[679],{"type":173,"value":680},"add",{"type":167,"tag":658,"props":682,"children":683},{"class":671},[684],{"type":173,"value":674},{"type":167,"tag":658,"props":686,"children":687},{"class":677},[688],{"type":173,"value":689},"@nuxt/content@^1",{"type":167,"tag":647,"props":691,"children":694},{"className":649,"code":692,"filename":693,"language":652,"meta":161},"npm install @nuxt/content@^1\n","NPM",[695],{"type":167,"tag":201,"props":696,"children":697},{"__ignoreMap":161},[698],{"type":167,"tag":658,"props":699,"children":700},{"class":660,"line":661},[701,706,710,715,719],{"type":167,"tag":658,"props":702,"children":703},{"class":665},[704],{"type":173,"value":705},"npm",{"type":167,"tag":658,"props":707,"children":708},{"class":671},[709],{"type":173,"value":674},{"type":167,"tag":658,"props":711,"children":712},{"class":677},[713],{"type":173,"value":714},"install",{"type":167,"tag":658,"props":716,"children":717},{"class":671},[718],{"type":173,"value":674},{"type":167,"tag":658,"props":720,"children":721},{"class":677},[722],{"type":173,"value":689},{"type":167,"tag":243,"props":724,"children":725},{},[726,728,732,734,739,741,746],{"type":173,"value":727},"Then, add ",{"type":167,"tag":201,"props":729,"children":730},{},[731],{"type":173,"value":639},{"type":173,"value":733}," to the ",{"type":167,"tag":201,"props":735,"children":736},{},[737],{"type":173,"value":738},"modules",{"type":173,"value":740}," section of ",{"type":167,"tag":201,"props":742,"children":743},{},[744],{"type":173,"value":745},"nuxt.config.js",{"type":173,"value":747},":",{"type":167,"tag":647,"props":749,"children":753},{"className":750,"code":751,"filename":745,"language":752,"meta":161},"language-js solarized-light_dark-plus_material-theme-lighter","{\n  modules: [\n    '@nuxt/content'\n  ],\n  content: {\n    // Options\n  }\n}\n","js",[754],{"type":167,"tag":201,"props":755,"children":756},{"__ignoreMap":161},[757,766,789,813,827,851,865,878],{"type":167,"tag":658,"props":758,"children":759},{"class":660,"line":661},[760],{"type":167,"tag":658,"props":761,"children":763},{"class":762},"ct-001462",[764],{"type":173,"value":765},"{\n",{"type":167,"tag":658,"props":767,"children":768},{"class":660,"line":584},[769,775,780,784],{"type":167,"tag":658,"props":770,"children":772},{"class":771},"ct-589478",[773],{"type":173,"value":774},"  ",{"type":167,"tag":658,"props":776,"children":778},{"class":777},"ct-271095",[779],{"type":173,"value":738},{"type":167,"tag":658,"props":781,"children":782},{"class":762},[783],{"type":173,"value":747},{"type":167,"tag":658,"props":785,"children":786},{"class":771},[787],{"type":173,"value":788}," [\n",{"type":167,"tag":658,"props":790,"children":792},{"class":660,"line":791},3,[793,798,804,808],{"type":167,"tag":658,"props":794,"children":795},{"class":771},[796],{"type":173,"value":797},"    ",{"type":167,"tag":658,"props":799,"children":801},{"class":800},"ct-659886",[802],{"type":173,"value":803},"'",{"type":167,"tag":658,"props":805,"children":806},{"class":677},[807],{"type":173,"value":639},{"type":167,"tag":658,"props":809,"children":810},{"class":800},[811],{"type":173,"value":812},"'\n",{"type":167,"tag":658,"props":814,"children":816},{"class":660,"line":815},4,[817,822],{"type":167,"tag":658,"props":818,"children":819},{"class":771},[820],{"type":173,"value":821},"  ]",{"type":167,"tag":658,"props":823,"children":824},{"class":762},[825],{"type":173,"value":826},",\n",{"type":167,"tag":658,"props":828,"children":830},{"class":660,"line":829},5,[831,835,839,843,847],{"type":167,"tag":658,"props":832,"children":833},{"class":771},[834],{"type":173,"value":774},{"type":167,"tag":658,"props":836,"children":837},{"class":777},[838],{"type":173,"value":592},{"type":167,"tag":658,"props":840,"children":841},{"class":762},[842],{"type":173,"value":747},{"type":167,"tag":658,"props":844,"children":845},{"class":771},[846],{"type":173,"value":674},{"type":167,"tag":658,"props":848,"children":849},{"class":762},[850],{"type":173,"value":765},{"type":167,"tag":658,"props":852,"children":854},{"class":660,"line":853},6,[855,859],{"type":167,"tag":658,"props":856,"children":857},{"class":762},[858],{"type":173,"value":797},{"type":167,"tag":658,"props":860,"children":862},{"class":861},"ct-798230",[863],{"type":173,"value":864},"// Options\n",{"type":167,"tag":658,"props":866,"children":868},{"class":660,"line":867},7,[869,873],{"type":167,"tag":658,"props":870,"children":871},{"class":771},[872],{"type":173,"value":774},{"type":167,"tag":658,"props":874,"children":875},{"class":762},[876],{"type":173,"value":877},"}\n",{"type":167,"tag":658,"props":879,"children":881},{"class":660,"line":880},8,[882],{"type":167,"tag":658,"props":883,"children":884},{"class":762},[885],{"type":173,"value":886},"}",{"type":167,"tag":168,"props":888,"children":890},{"id":889},"typescript",[891],{"type":173,"value":892},"TypeScript",{"type":167,"tag":243,"props":894,"children":895},{},[896,898,903,905,910],{"type":173,"value":897},"Add the types to your \"types\" array in tsconfig.json after the ",{"type":167,"tag":201,"props":899,"children":900},{},[901],{"type":173,"value":902},"@nuxt/types",{"type":173,"value":904}," (Nuxt 2.9.0+) or ",{"type":167,"tag":201,"props":906,"children":907},{},[908],{"type":173,"value":909},"@nuxt/vue-app",{"type":173,"value":911}," entry.",{"type":167,"tag":243,"props":913,"children":914},{},[915],{"type":167,"tag":916,"props":917,"children":918},"strong",{},[919],{"type":173,"value":920},"tsconfig.json",{"type":167,"tag":647,"props":922,"children":926},{"className":923,"code":924,"language":925,"meta":161},"language-json solarized-light_dark-plus_material-theme-lighter","{\n  \"compilerOptions\": {\n    \"types\": [\n      \"@nuxt/types\",\n      \"@nuxt/content\"\n    ]\n  }\n}\n","json",[927],{"type":167,"tag":201,"props":928,"children":929},{"__ignoreMap":161},[930,937,972,1006,1030,1050,1062,1073],{"type":167,"tag":658,"props":931,"children":932},{"class":660,"line":661},[933],{"type":167,"tag":658,"props":934,"children":935},{"class":762},[936],{"type":173,"value":765},{"type":167,"tag":658,"props":938,"children":939},{"class":660,"line":584},[940,944,950,956,960,964,968],{"type":167,"tag":658,"props":941,"children":942},{"class":671},[943],{"type":173,"value":774},{"type":167,"tag":658,"props":945,"children":947},{"class":946},"ct-703398",[948],{"type":173,"value":949},"\"",{"type":167,"tag":658,"props":951,"children":953},{"class":952},"ct-814807",[954],{"type":173,"value":955},"compilerOptions",{"type":167,"tag":658,"props":957,"children":958},{"class":946},[959],{"type":173,"value":949},{"type":167,"tag":658,"props":961,"children":962},{"class":762},[963],{"type":173,"value":747},{"type":167,"tag":658,"props":965,"children":966},{"class":671},[967],{"type":173,"value":674},{"type":167,"tag":658,"props":969,"children":970},{"class":762},[971],{"type":173,"value":765},{"type":167,"tag":658,"props":973,"children":974},{"class":660,"line":791},[975,979,983,989,993,997,1001],{"type":167,"tag":658,"props":976,"children":977},{"class":671},[978],{"type":173,"value":797},{"type":167,"tag":658,"props":980,"children":981},{"class":946},[982],{"type":173,"value":949},{"type":167,"tag":658,"props":984,"children":986},{"class":985},"ct-414072",[987],{"type":173,"value":988},"types",{"type":167,"tag":658,"props":990,"children":991},{"class":946},[992],{"type":173,"value":949},{"type":167,"tag":658,"props":994,"children":995},{"class":762},[996],{"type":173,"value":747},{"type":167,"tag":658,"props":998,"children":999},{"class":671},[1000],{"type":173,"value":674},{"type":167,"tag":658,"props":1002,"children":1003},{"class":762},[1004],{"type":173,"value":1005},"[\n",{"type":167,"tag":658,"props":1007,"children":1008},{"class":660,"line":815},[1009,1014,1018,1022,1026],{"type":167,"tag":658,"props":1010,"children":1011},{"class":671},[1012],{"type":173,"value":1013},"      ",{"type":167,"tag":658,"props":1015,"children":1016},{"class":800},[1017],{"type":173,"value":949},{"type":167,"tag":658,"props":1019,"children":1020},{"class":677},[1021],{"type":173,"value":902},{"type":167,"tag":658,"props":1023,"children":1024},{"class":800},[1025],{"type":173,"value":949},{"type":167,"tag":658,"props":1027,"children":1028},{"class":762},[1029],{"type":173,"value":826},{"type":167,"tag":658,"props":1031,"children":1032},{"class":660,"line":829},[1033,1037,1041,1045],{"type":167,"tag":658,"props":1034,"children":1035},{"class":671},[1036],{"type":173,"value":1013},{"type":167,"tag":658,"props":1038,"children":1039},{"class":800},[1040],{"type":173,"value":949},{"type":167,"tag":658,"props":1042,"children":1043},{"class":677},[1044],{"type":173,"value":639},{"type":167,"tag":658,"props":1046,"children":1047},{"class":800},[1048],{"type":173,"value":1049},"\"\n",{"type":167,"tag":658,"props":1051,"children":1052},{"class":660,"line":853},[1053,1057],{"type":167,"tag":658,"props":1054,"children":1055},{"class":671},[1056],{"type":173,"value":797},{"type":167,"tag":658,"props":1058,"children":1059},{"class":762},[1060],{"type":173,"value":1061},"]\n",{"type":167,"tag":658,"props":1063,"children":1064},{"class":660,"line":867},[1065,1069],{"type":167,"tag":658,"props":1066,"children":1067},{"class":671},[1068],{"type":173,"value":774},{"type":167,"tag":658,"props":1070,"children":1071},{"class":762},[1072],{"type":173,"value":877},{"type":167,"tag":658,"props":1074,"children":1075},{"class":660,"line":880},[1076],{"type":167,"tag":658,"props":1077,"children":1078},{"class":762},[1079],{"type":173,"value":886},{"type":167,"tag":344,"props":1081,"children":1082},{},[1083,1091],{"type":167,"tag":243,"props":1084,"children":1085},{},[1086],{"type":167,"tag":916,"props":1087,"children":1088},{},[1089],{"type":173,"value":1090},"Why?",{"type":167,"tag":243,"props":1092,"children":1093},{},[1094,1096,1100,1102,1107,1109,1116,1118,1122,1124,1128],{"type":173,"value":1095},"Because of the way Nuxt works the ",{"type":167,"tag":201,"props":1097,"children":1098},{},[1099],{"type":173,"value":252},{"type":173,"value":1101}," property on the context has to be merged into the Nuxt ",{"type":167,"tag":201,"props":1103,"children":1104},{},[1105],{"type":173,"value":1106},"Context",{"type":173,"value":1108}," interface via ",{"type":167,"tag":329,"props":1110,"children":1113},{"href":1111,"rel":1112},"https://www.typescriptlang.org/docs/handbook/declaration-merging.html",[333],[1114],{"type":173,"value":1115},"declaration merging",{"type":173,"value":1117},". Adding ",{"type":167,"tag":201,"props":1119,"children":1120},{},[1121],{"type":173,"value":639},{"type":173,"value":1123}," to your types will import the types from the package and make TypeScript aware of the additions to the ",{"type":167,"tag":201,"props":1125,"children":1126},{},[1127],{"type":173,"value":1106},{"type":173,"value":1129}," interface.",{"type":167,"tag":1131,"props":1132,"children":1133},"style",{},[1134],{"type":173,"value":1135},".solarized-light_dark-plus_material-theme-lighter{color:#657B83;background:#FDF6E3;}.dark .solarized-light_dark-plus_material-theme-lighter{color:#D4D4D4;background:#1E1E1E;}.light .solarized-light_dark-plus_material-theme-lighter{color:#90A4AE;background:#FAFAFA;}.ct-560301{color:#268BD2;}.dark .ct-560301{color:#DCDCAA;}.light .ct-560301{color:#E2931D;}.ct-916772{color:#657B83;}.dark .ct-916772{color:#D4D4D4;}.light .ct-916772{color:#90A4AE;}.ct-084644{color:#2AA198;}.dark .ct-084644{color:#CE9178;}.light .ct-084644{color:#91B859;}.ct-001462{color:#657B83;}.dark .ct-001462{color:#D4D4D4;}.light .ct-001462{color:#39ADB5;}.ct-589478{color:#657B83;}.dark .ct-589478{color:#D4D4D4;}.light .ct-589478{color:#E53935;}.ct-271095{color:#657B83;}.dark .ct-271095{color:#C8C8C8;}.light .ct-271095{color:#E2931D;}.ct-659886{color:#2AA198;}.dark .ct-659886{color:#CE9178;}.light .ct-659886{color:#39ADB5;}.ct-798230{color:#93A1A1;font-style:italic;}.dark .ct-798230{color:#6A9955;font-style:unset;}.light .ct-798230{color:#90A4AE;font-style:italic;}.ct-703398{color:#859900;}.dark .ct-703398{color:#9CDCFE;}.light .ct-703398{color:#39ADB5;}.ct-814807{color:#859900;}.dark .ct-814807{color:#9CDCFE;}.light .ct-814807{color:#9C3EDA;}.ct-414072{color:#859900;}.dark .ct-414072{color:#9CDCFE;}.light .ct-414072{color:#E2931D;}",{"title":161,"searchDepth":584,"depth":584,"links":1137},[1138],{"id":889,"depth":584,"text":892},"content:7.v1:1.getting-started:2.installation.md","7.v1/1.getting-started/2.installation.md",1695734874067]