[{"data":1,"prerenderedAt":341},["ShallowReactive",2],{"navigation_docs":3,"-docs-deploy-server":205,"-docs-deploy-server-surround":336},[4,24,51,73,95,112,158,171],{"title":5,"path":6,"stem":7,"children":8,"icon":23},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[9,11,15,19],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation",{"title":16,"path":17,"stem":18},"Configuration","\u002Fdocs\u002Fgetting-started\u002Fconfiguration","docs\u002F1.getting-started\u002F3.configuration",{"title":20,"path":21,"stem":22},"Migration","\u002Fdocs\u002Fgetting-started\u002Fmigration","docs\u002F1.getting-started\u002F4.migration","i-lucide-square-play",{"title":25,"icon":26,"path":27,"stem":28,"children":29,"page":50},"Collections","i-lucide-database","\u002Fdocs\u002Fcollections","docs\u002F2.collections",[30,34,38,42,46],{"title":31,"path":32,"stem":33},"Define","\u002Fdocs\u002Fcollections\u002Fdefine","docs\u002F2.collections\u002F1.define",{"title":35,"path":36,"stem":37},"Types","\u002Fdocs\u002Fcollections\u002Ftypes","docs\u002F2.collections\u002F2.types",{"title":39,"path":40,"stem":41},"Sources","\u002Fdocs\u002Fcollections\u002Fsources","docs\u002F2.collections\u002F3.sources",{"title":43,"path":44,"stem":45},"Validators","\u002Fdocs\u002Fcollections\u002Fvalidators","docs\u002F2.collections\u002F4.validators",{"title":47,"path":48,"stem":49},"Components","\u002Fdocs\u002Fcollections\u002Finherit-schema-from-component","docs\u002F2.collections\u002F5.inherit-schema-from-component",false,{"title":52,"icon":53,"path":54,"stem":55,"children":56,"page":50},"Files","i-lucide-file","\u002Fdocs\u002Ffiles","docs\u002F3.files",[57,61,65,69],{"title":58,"path":59,"stem":60},"Markdown","\u002Fdocs\u002Ffiles\u002Fmarkdown","docs\u002F3.files\u002F1.markdown",{"title":62,"path":63,"stem":64},"YAML","\u002Fdocs\u002Ffiles\u002Fyaml","docs\u002F3.files\u002F2.yaml",{"title":66,"path":67,"stem":68},"JSON","\u002Fdocs\u002Ffiles\u002Fjson","docs\u002F3.files\u002F3.json",{"title":70,"path":71,"stem":72},"CSV","\u002Fdocs\u002Ffiles\u002Fcsv","docs\u002F3.files\u002F4.csv",{"title":74,"icon":75,"path":76,"stem":77,"children":78,"page":50},"Query Utils","i-lucide-square-function","\u002Fdocs\u002Futils","docs\u002F4.utils",[79,83,87,91],{"title":80,"path":81,"stem":82},"queryCollection","\u002Fdocs\u002Futils\u002Fquery-collection","docs\u002F4.utils\u002F1.query-collection",{"title":84,"path":85,"stem":86},"queryCollectionNavigation","\u002Fdocs\u002Futils\u002Fquery-collection-navigation","docs\u002F4.utils\u002F2.query-collection-navigation",{"title":88,"path":89,"stem":90},"queryCollectionItemSurroundings","\u002Fdocs\u002Futils\u002Fquery-collection-item-surroundings","docs\u002F4.utils\u002F3.query-collection-item-surroundings",{"title":92,"path":93,"stem":94},"queryCollectionSearchSections","\u002Fdocs\u002Futils\u002Fquery-collection-search-sections","docs\u002F4.utils\u002F4.query-collection-search-sections",{"title":47,"icon":96,"path":97,"stem":98,"children":99,"page":50},"i-lucide-square-code","\u002Fdocs\u002Fcomponents","docs\u002F5.components",[100,104,108],{"title":101,"path":102,"stem":103},"ContentRenderer","\u002Fdocs\u002Fcomponents\u002Fcontent-renderer","docs\u002F5.components\u002F0.content-renderer",{"title":105,"path":106,"stem":107},"Slot","\u002Fdocs\u002Fcomponents\u002Fslot","docs\u002F5.components\u002F1.slot",{"title":109,"path":110,"stem":111},"Prose Components","\u002Fdocs\u002Fcomponents\u002Fprose","docs\u002F5.components\u002F2.prose",{"title":113,"icon":114,"path":115,"stem":116,"children":117,"page":50},"Deploy","i-lucide-cloud-upload","\u002Fdocs\u002Fdeploy","docs\u002F6.deploy",[118,122,126,130,134,138,142,146,150,154],{"title":119,"path":120,"stem":121},"Server","\u002Fdocs\u002Fdeploy\u002Fserver","docs\u002F6.deploy\u002F1.server",{"title":123,"path":124,"stem":125},"Static","\u002Fdocs\u002Fdeploy\u002Fstatic","docs\u002F6.deploy\u002F10.static",{"title":127,"path":128,"stem":129},"Serverless","\u002Fdocs\u002Fdeploy\u002Fserverless","docs\u002F6.deploy\u002F2.serverless",{"title":131,"path":132,"stem":133},"NuxtHub","\u002Fdocs\u002Fdeploy\u002Fnuxthub","docs\u002F6.deploy\u002F3.nuxthub",{"title":135,"path":136,"stem":137},"Cloudflare Pages","\u002Fdocs\u002Fdeploy\u002Fcloudflare-pages","docs\u002F6.deploy\u002F4.cloudflare-pages",{"title":139,"path":140,"stem":141},"Cloudflare Workers","\u002Fdocs\u002Fdeploy\u002Fcloudflare-workers","docs\u002F6.deploy\u002F5.cloudflare-workers",{"title":143,"path":144,"stem":145},"Vercel","\u002Fdocs\u002Fdeploy\u002Fvercel","docs\u002F6.deploy\u002F6.vercel",{"title":147,"path":148,"stem":149},"Netlify","\u002Fdocs\u002Fdeploy\u002Fnetlify","docs\u002F6.deploy\u002F7.netlify",{"title":151,"path":152,"stem":153},"AWS Amplify","\u002Fdocs\u002Fdeploy\u002Faws-amplify","docs\u002F6.deploy\u002F8.aws-amplify",{"title":155,"path":156,"stem":157},"Docker","\u002Fdocs\u002Fdeploy\u002Fdocker","docs\u002F6.deploy\u002F9.docker",{"title":159,"icon":114,"path":160,"stem":161,"children":162,"page":50},"Integrations","\u002Fdocs\u002Fintegrations","docs\u002F7.integrations",[163,167],{"title":164,"path":165,"stem":166},"Nuxt i18n","\u002Fdocs\u002Fintegrations\u002Fi18n","docs\u002F7.integrations\u002F01.i18n",{"title":168,"path":169,"stem":170},"Nuxt LLMs","\u002Fdocs\u002Fintegrations\u002Fllms","docs\u002F7.integrations\u002F02.llms",{"title":172,"icon":173,"path":174,"stem":175,"children":176,"page":50},"Advanced","i-lucide-code-xml","\u002Fdocs\u002Fadvanced","docs\u002F8.advanced",[177,181,185,189,193,197,201],{"title":178,"path":179,"stem":180},"Full-Text Search","\u002Fdocs\u002Fadvanced\u002Ffulltext-search","docs\u002F8.advanced\u002F1.fulltext-search",{"title":182,"path":183,"stem":184},"Raw Content","\u002Fdocs\u002Fadvanced\u002Fraw-content","docs\u002F8.advanced\u002F2.raw-content",{"title":186,"path":187,"stem":188},"SQL Storage","\u002Fdocs\u002Fadvanced\u002Fdatabase","docs\u002F8.advanced\u002F3.database",{"title":190,"path":191,"stem":192},"Debugging tools","\u002Fdocs\u002Fadvanced\u002Ftools","docs\u002F8.advanced\u002F4.tools",{"title":194,"path":195,"stem":196},"Hooks","\u002Fdocs\u002Fadvanced\u002Fhooks","docs\u002F8.advanced\u002F5.hooks",{"title":198,"path":199,"stem":200},"Custom Source","\u002Fdocs\u002Fadvanced\u002Fcustom-source","docs\u002F8.advanced\u002F6.custom-source",{"title":202,"path":203,"stem":204},"Transformers","\u002Fdocs\u002Fadvanced\u002Ftransformers","docs\u002F8.advanced\u002F8.transformers",{"id":206,"title":207,"body":208,"description":329,"extension":330,"links":331,"meta":332,"navigation":333,"path":120,"seo":334,"stem":121,"__hash__":335},"docs\u002Fdocs\u002F6.deploy\u002F1.server.md","Server Hosting",{"type":209,"value":210,"toc":324},"minimark",[211,216,225,229,236,252,256,259,282,289,317,320],[212,213,215],"h2",{"id":214},"what-is-nodejs-preset","What is Node.js preset?",[217,218,219,220,224],"p",{},"Node preset is the default preset for Nuxt, when building your project, Nuxt will output a Node.js server that you can run with ",[221,222,223],"code",{},"node .output\u002Fserver\u002Findex.mjs",".",[212,226,228],{"id":227},"environment-requirement","Environment requirement",[217,230,231,232,235],{},"If you are using the default ",[221,233,234],{},"better-sqlite3"," module to operate the sqlite database,\nthen you have to deploy to an OS with Glibc version higher than 2.29, eg. Debian 11, Ubuntu 20.04.",[237,238,239,240,243,244,251],"note",{},"You can use ",[221,241,242],{},"ldd --version"," to check the Glibc version. Checkout ",[245,246,250],"a",{"href":247,"rel":248},"https:\u002F\u002Fgithub.com\u002Fnuxt\u002Fcontent\u002Fissues\u002F3248",[249],"nofollow","issue #3248"," for more details.",[212,253,255],{"id":254},"building-with-nodejs-preset","Building with Node.js preset",[217,257,258],{},"Build project with Nuxt build command:",[260,261,267],"pre",{"className":262,"code":263,"filename":264,"language":265,"meta":266,"style":266},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","nuxi build\n","Terminal","bash","",[221,268,269],{"__ignoreMap":266},[270,271,274,278],"span",{"class":272,"line":273},"line",1,[270,275,277],{"class":276},"sBMFI","nuxi",[270,279,281],{"class":280},"sfazB"," build\n",[217,283,284,285,288],{},"When running ",[221,286,287],{},"nuxi build"," with the Node server preset, the result will be an entry point that launches a ready-to-run Node server.",[260,290,292],{"className":262,"code":291,"filename":264,"language":265,"meta":266,"style":266},"$ node .output\u002Fserver\u002Findex.mjs\nListening on http:\u002F\u002Flocalhost:3000\n",[221,293,294,305],{"__ignoreMap":266},[270,295,296,299,302],{"class":272,"line":273},[270,297,298],{"class":276},"$",[270,300,301],{"class":280}," node",[270,303,304],{"class":280}," .output\u002Fserver\u002Findex.mjs\n",[270,306,308,311,314],{"class":272,"line":307},2,[270,309,310],{"class":276},"Listening",[270,312,313],{"class":280}," on",[270,315,316],{"class":280}," http:\u002F\u002Flocalhost:3000\n",[237,318,319],{},"The SQLite database will be loaded on the server side when booting the server as well as in the browser for client-side navigation or actions.",[321,322,323],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}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);}",{"title":266,"searchDepth":307,"depth":307,"links":325},[326,327,328],{"id":214,"depth":307,"text":215},{"id":227,"depth":307,"text":228},{"id":254,"depth":307,"text":255},"Node preset is the default preset for Nuxt and Nuxt Content. It is used to build and run Nuxt applications on Node.js.","md",null,{},{"title":119},{"title":207,"description":329},"hq5hRVf_jY3kkaGeQyLYgecLw-atOoirxChEedERkxE",[337,339],{"title":109,"path":110,"stem":111,"description":338,"children":-1},"A list of Prose components.",{"title":123,"path":124,"stem":125,"description":340,"children":-1},"How to deploy Nuxt Content to static hosting with static site generation.",1774604969024]