[{"data":1,"prerenderedAt":492},["ShallowReactive",2],{"navigation_docs":3,"-docs-deploy-aws-amplify":205,"-docs-deploy-aws-amplify-surround":487},[4,24,51,73,95,112,158,171],{"title":5,"path":6,"stem":7,"children":8,"icon":23},"Getting Started","/docs/getting-started","docs/1.getting-started/1.index",[9,11,15,19],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Installation","/docs/getting-started/installation","docs/1.getting-started/2.installation",{"title":16,"path":17,"stem":18},"Configuration","/docs/getting-started/configuration","docs/1.getting-started/3.configuration",{"title":20,"path":21,"stem":22},"Migration","/docs/getting-started/migration","docs/1.getting-started/4.migration","i-lucide-square-play",{"title":25,"icon":26,"path":27,"stem":28,"children":29,"page":50},"Collections","i-lucide-database","/docs/collections","docs/2.collections",[30,34,38,42,46],{"title":31,"path":32,"stem":33},"Define","/docs/collections/define","docs/2.collections/1.define",{"title":35,"path":36,"stem":37},"Types","/docs/collections/types","docs/2.collections/2.types",{"title":39,"path":40,"stem":41},"Sources","/docs/collections/sources","docs/2.collections/3.sources",{"title":43,"path":44,"stem":45},"Validators","/docs/collections/validators","docs/2.collections/4.validators",{"title":47,"path":48,"stem":49},"Components","/docs/collections/inherit-schema-from-component","docs/2.collections/5.inherit-schema-from-component",false,{"title":52,"icon":53,"path":54,"stem":55,"children":56,"page":50},"Files","i-lucide-file","/docs/files","docs/3.files",[57,61,65,69],{"title":58,"path":59,"stem":60},"Markdown","/docs/files/markdown","docs/3.files/1.markdown",{"title":62,"path":63,"stem":64},"YAML","/docs/files/yaml","docs/3.files/2.yaml",{"title":66,"path":67,"stem":68},"JSON","/docs/files/json","docs/3.files/3.json",{"title":70,"path":71,"stem":72},"CSV","/docs/files/csv","docs/3.files/4.csv",{"title":74,"icon":75,"path":76,"stem":77,"children":78,"page":50},"Query Utils","i-lucide-square-function","/docs/utils","docs/4.utils",[79,83,87,91],{"title":80,"path":81,"stem":82},"queryCollection","/docs/utils/query-collection","docs/4.utils/1.query-collection",{"title":84,"path":85,"stem":86},"queryCollectionNavigation","/docs/utils/query-collection-navigation","docs/4.utils/2.query-collection-navigation",{"title":88,"path":89,"stem":90},"queryCollectionItemSurroundings","/docs/utils/query-collection-item-surroundings","docs/4.utils/3.query-collection-item-surroundings",{"title":92,"path":93,"stem":94},"queryCollectionSearchSections","/docs/utils/query-collection-search-sections","docs/4.utils/4.query-collection-search-sections",{"title":47,"icon":96,"path":97,"stem":98,"children":99,"page":50},"i-lucide-square-code","/docs/components","docs/5.components",[100,104,108],{"title":101,"path":102,"stem":103},"ContentRenderer","/docs/components/content-renderer","docs/5.components/0.content-renderer",{"title":105,"path":106,"stem":107},"Slot","/docs/components/slot","docs/5.components/1.slot",{"title":109,"path":110,"stem":111},"Prose Components","/docs/components/prose","docs/5.components/2.prose",{"title":113,"icon":114,"path":115,"stem":116,"children":117,"page":50},"Deploy","i-lucide-cloud-upload","/docs/deploy","docs/6.deploy",[118,122,126,130,134,138,142,146,150,154],{"title":119,"path":120,"stem":121},"Server","/docs/deploy/server","docs/6.deploy/1.server",{"title":123,"path":124,"stem":125},"Static","/docs/deploy/static","docs/6.deploy/10.static",{"title":127,"path":128,"stem":129},"Serverless","/docs/deploy/serverless","docs/6.deploy/2.serverless",{"title":131,"path":132,"stem":133},"NuxtHub","/docs/deploy/nuxthub","docs/6.deploy/3.nuxthub",{"title":135,"path":136,"stem":137},"Cloudflare Pages","/docs/deploy/cloudflare-pages","docs/6.deploy/4.cloudflare-pages",{"title":139,"path":140,"stem":141},"Cloudflare Workers","/docs/deploy/cloudflare-workers","docs/6.deploy/5.cloudflare-workers",{"title":143,"path":144,"stem":145},"Vercel","/docs/deploy/vercel","docs/6.deploy/6.vercel",{"title":147,"path":148,"stem":149},"Netlify","/docs/deploy/netlify","docs/6.deploy/7.netlify",{"title":151,"path":152,"stem":153},"AWS Amplify","/docs/deploy/aws-amplify","docs/6.deploy/8.aws-amplify",{"title":155,"path":156,"stem":157},"Docker","/docs/deploy/docker","docs/6.deploy/9.docker",{"title":159,"icon":114,"path":160,"stem":161,"children":162,"page":50},"Integrations","/docs/integrations","docs/7.integrations",[163,167],{"title":164,"path":165,"stem":166},"Nuxt i18n","/docs/integrations/i18n","docs/7.integrations/01.i18n",{"title":168,"path":169,"stem":170},"Nuxt LLMs","/docs/integrations/llms","docs/7.integrations/02.llms",{"title":172,"icon":173,"path":174,"stem":175,"children":176,"page":50},"Advanced","i-lucide-code-xml","/docs/advanced","docs/8.advanced",[177,181,185,189,193,197,201],{"title":178,"path":179,"stem":180},"Full-Text Search","/docs/advanced/fulltext-search","docs/8.advanced/1.fulltext-search",{"title":182,"path":183,"stem":184},"Raw Content","/docs/advanced/raw-content","docs/8.advanced/2.raw-content",{"title":186,"path":187,"stem":188},"SQL Storage","/docs/advanced/database","docs/8.advanced/3.database",{"title":190,"path":191,"stem":192},"Debugging tools","/docs/advanced/tools","docs/8.advanced/4.tools",{"title":194,"path":195,"stem":196},"Hooks","/docs/advanced/hooks","docs/8.advanced/5.hooks",{"title":198,"path":199,"stem":200},"Custom Source","/docs/advanced/custom-source","docs/8.advanced/6.custom-source",{"title":202,"path":203,"stem":204},"Transformers","/docs/advanced/transformers","docs/8.advanced/8.transformers",{"id":206,"title":151,"body":207,"description":480,"extension":481,"links":482,"meta":483,"navigation":484,"path":152,"seo":485,"stem":153,"__hash__":486},"docs/docs/6.deploy/8.aws-amplify.md",{"type":208,"value":209,"toc":474},"minimark",[210,243,246,249,256,273,284,364,433,439,445,448,456,459,470],[211,212,213,217],"card",{},[214,215,216],"p",{},"Quick Setup",[218,219,220,240],"ul",{},[221,222,223,224],"li",{},"Prepare Sqlite Connector\n",[218,225,226,233],{},[221,227,228,229],{},"Option A (recommended on Node.js 22+): Use native ",[230,231,232],"code",{},"node:sqlite",[221,234,235,236,239],{},"Option B (legacy): Install ",[230,237,238],{},"sqlite3"," package in your project.",[221,241,242],{},"Go to AWS Amplify dashboard and create a new project using your git repository and deploy the app.",[244,245],"hr",{},[214,247,248],{},"Nuxt Content projects can be deployed to AWS Amplify with zero configuration.\nThe module will automatically detect an AWS Amplify environment and will prepare the necessary configuration for deployment.",[250,251,253,254],"h2",{"id":252},"option-a-use-native-nodesqlite","Option A: Use native ",[230,255,232],{},[214,257,258,259,261,262,265,266,265,269,272],{},"In order to use native ",[230,260,232],{}," package, you need to change node version to 22+. This can be easily done\nin Amplify dashboard via ",[230,263,264],{},"Build Settings"," > ",[230,267,268],{},"Live Package Updates",[230,270,271],{},"Package (Node.js version) = 22",".",[214,274,275,276,279,280,283],{},"This is also possible via ",[230,277,278],{},"amplify.yml"," inside ",[230,281,282],{},"preBuild"," phase.",[285,286,291],"pre",{"className":287,"code":288,"language":289,"meta":290,"style":290},"language-yml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","frontend:\n  phases:\n    preBuild:\n      commands:\n        - nvm install 22\n        - nvm use 22\n        - node -v\n        - npm ci\n","yml","",[230,292,293,306,314,322,330,340,348,356],{"__ignoreMap":290},[294,295,298,302],"span",{"class":296,"line":297},"line",1,[294,299,301],{"class":300},"swJcz","frontend",[294,303,305],{"class":304},"sMK4o",":\n",[294,307,309,312],{"class":296,"line":308},2,[294,310,311],{"class":300},"  phases",[294,313,305],{"class":304},[294,315,317,320],{"class":296,"line":316},3,[294,318,319],{"class":300},"    preBuild",[294,321,305],{"class":304},[294,323,325,328],{"class":296,"line":324},4,[294,326,327],{"class":300},"      commands",[294,329,305],{"class":304},[294,331,333,336],{"class":296,"line":332},5,[294,334,335],{"class":304},"        -",[294,337,339],{"class":338},"sfazB"," nvm install 22\n",[294,341,343,345],{"class":296,"line":342},6,[294,344,335],{"class":304},[294,346,347],{"class":338}," nvm use 22\n",[294,349,351,353],{"class":296,"line":350},7,[294,352,335],{"class":304},[294,354,355],{"class":338}," node -v\n",[294,357,359,361],{"class":296,"line":358},8,[294,360,335],{"class":304},[294,362,363],{"class":338}," npm ci\n",[365,366,367,377],"warning",{},[214,368,369,370,372,373,376],{},"If you are using SSR for content, Nitro defaults the Amplify runtime to Node 20. Since ",[230,371,232],{}," requires Node 22+, you need to explicitly set the runtime version in ",[230,374,375],{},"nuxt.config.ts",":",[285,378,382],{"className":379,"code":380,"language":381,"meta":290,"style":290},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","nitro: {\n  awsAmplify: {\n    runtime: 'nodejs22.x',\n  },\n},\n","ts",[230,383,384,395,404,423,428],{"__ignoreMap":290},[294,385,386,390,392],{"class":296,"line":297},[294,387,389],{"class":388},"sBMFI","nitro",[294,391,376],{"class":304},[294,393,394],{"class":304}," {\n",[294,396,397,400,402],{"class":296,"line":308},[294,398,399],{"class":388},"  awsAmplify",[294,401,376],{"class":304},[294,403,394],{"class":304},[294,405,406,409,411,414,417,420],{"class":296,"line":316},[294,407,408],{"class":388},"    runtime",[294,410,376],{"class":304},[294,412,413],{"class":304}," '",[294,415,416],{"class":338},"nodejs22.x",[294,418,419],{"class":304},"'",[294,421,422],{"class":304},",\n",[294,424,425],{"class":296,"line":324},[294,426,427],{"class":304},"  },\n",[294,429,430],{"class":296,"line":332},[294,431,432],{"class":304},"},\n",[250,434,436,437],{"id":435},"option-b-use-sqlite3","Option B: Use ",[230,438,238],{},[214,440,441,442,444],{},"All you need to do is to install ",[230,443,238],{}," package in your project and go to AWS Amplify dashboard and create a new project using git repository.",[214,446,447],{},"That's it 🎉",[449,450,451,452,455],"note",{},"By default module will use SQlite database located at ",[230,453,454],{},"/tmp"," directory. You can override the database configuration by providing your own database configuration.",[214,457,458],{},"Checkout:",[218,460,461],{},[221,462,463],{},[464,465,469],"a",{"href":466,"rel":467},"https://nuxt.com/deploy/aws-amplify",[468],"nofollow","Nuxt Deploy documentation",[471,472,473],"style",{},"html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":290,"searchDepth":308,"depth":308,"links":475},[476,478],{"id":252,"depth":308,"text":477},"Option A: Use native node:sqlite",{"id":435,"depth":308,"text":479},"Option B: Use sqlite3","Deploy your Content app to AWS Amplify","md",null,{},true,{"title":151,"description":480},"hccH8S6o_0kvXcn3mzYVj32wxgvNhalIBnmqW40A3cc",[488,490],{"title":147,"path":148,"stem":149,"description":489,"children":-1},"Deploy your Content app to Netlify",{"title":155,"path":156,"stem":157,"description":491,"children":-1},"Deploy your Content app with Docker",1774543464418]