[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"navigation_en":3,"/docs/deployment/cloudflare-data":144},[4,16,91,117,127],{"title":5,"path":6,"stem":7,"children":8,"icon":15},"Getting Started","/docs/get-started","docs/1.get-started/1.index",[9,11],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Setup","/docs/get-started/setup","docs/1.get-started/2.setup","mage:fast-forward-fill",{"title":17,"icon":18,"path":19,"stem":20,"children":21,"page":90},"Features","ic:baseline-cable","/docs/features","docs/2.features",[22,26,30,34,38,42,46,50,54,58,62,66,70,74,78,82,86],{"title":23,"path":24,"stem":25},"Database","/docs/features/database","docs/2.features/01.database",{"title":27,"path":28,"stem":29},"Authentication","/docs/features/auth","docs/2.features/02.auth",{"title":31,"path":32,"stem":33},"Payments","/docs/features/payments","docs/2.features/03.payments",{"title":35,"path":36,"stem":37},"Admin Panel","/docs/features/admin-panel","docs/2.features/04.admin-panel",{"title":39,"path":40,"stem":41},"AI","/docs/features/ai","docs/2.features/05.ai",{"title":43,"path":44,"stem":45},"Customization","/docs/features/customization","docs/2.features/06.customization",{"title":47,"path":48,"stem":49},"Storage","/docs/features/storage","docs/2.features/07.storage",{"title":51,"path":52,"stem":53},"Email","/docs/features/email","docs/2.features/08.email",{"title":55,"path":56,"stem":57},"Languages","/docs/features/languages","docs/2.features/09.languages",{"title":59,"path":60,"stem":61},"SEO","/docs/features/seo","docs/2.features/10.seo",{"title":63,"path":64,"stem":65},"Blogs","/docs/features/blogs","docs/2.features/11.blogs",{"title":67,"path":68,"stem":69},"Documentation","/docs/features/documentation","docs/2.features/12.documentation",{"title":71,"path":72,"stem":73},"Cron Jobs","/docs/features/cron-jobs","docs/2.features/13.cron-jobs",{"title":75,"path":76,"stem":77},"Error Handling","/docs/features/error-handling","docs/2.features/14.error-handling",{"title":79,"path":80,"stem":81},"Analytics","/docs/features/analytics","docs/2.features/15.analytics",{"title":83,"path":84,"stem":85},"PWA","/docs/features/pwa","docs/2.features/15.pwa",{"title":87,"path":88,"stem":89},"Customer Support","/docs/features/customer-support","docs/2.features/16.customer-support",false,{"title":92,"icon":93,"path":94,"stem":95,"children":96,"page":90},"Tutorials","ic:baseline-library-books","/docs/tutorials","docs/3.tutorials",[97,101,105,109,113],{"title":98,"path":99,"stem":100},"Project Structure","/docs/tutorials/project-structure","docs/3.tutorials/1.project-structure",{"title":102,"path":103,"stem":104},"Page Routes","/docs/tutorials/page-routes","docs/3.tutorials/2.page-routes",{"title":106,"path":107,"stem":108},"API Calls","/docs/tutorials/api-calls","docs/3.tutorials/3.api-calls",{"title":110,"path":111,"stem":112},"State Management","/docs/tutorials/state-management","docs/3.tutorials/4.state-management",{"title":114,"path":115,"stem":116},"Legal Pages by GPT","/docs/tutorials/legal-pages-by-gpt","docs/3.tutorials/5.legal-pages-by-gpt",{"title":118,"icon":119,"path":120,"stem":121,"children":122,"page":90},"Formatting & Linting","ic:baseline-format-align-left","/docs/formatting-and-linting","docs/4.formatting-and-linting",[123],{"title":124,"path":125,"stem":126},"Overview","/docs/formatting-and-linting/overview","docs/4.formatting-and-linting/1.overview",{"title":128,"icon":129,"path":130,"stem":131,"children":132,"page":90},"Deployment","ic:baseline-rocket-launch","/docs/deployment","docs/5.deployment",[133,136,140],{"title":124,"path":134,"stem":135},"/docs/deployment/overview","docs/5.deployment/1.overview",{"title":137,"path":138,"stem":139},"Vercel","/docs/deployment/vercel","docs/5.deployment/2.vercel",{"title":141,"path":142,"stem":143},"Cloudflare Workers","/docs/deployment/cloudflare","docs/5.deployment/3.cloudflare",{"page":145,"surround":277},{"id":146,"title":141,"body":147,"description":269,"extension":270,"head":271,"meta":272,"navigation":273,"ogImage":271,"path":142,"robots":271,"schemaOrg":271,"seo":274,"sitemap":275,"stem":143,"__hash__":276},"docs_en/docs/5.deployment/3.cloudflare.md",{"type":148,"value":149,"toc":265},"minimark",[150,154],[151,152,12],"h2",{"id":153},"setup",[155,156,157,161,213,223,226,256,259,262],"ol",{},[158,159,160],"li",{},"Sign up / Log in to Cloudflare.",[158,162,163,164],{},"Set up Hyperdrive (for database connections):",[165,166,167,175,182,188,203],"ul",{},[158,168,169,170,174],{},"In the Cloudflare dashboard, go to ",[171,172,173],"strong",{},"Storage & Databases → Hyperdrive",".",[158,176,177,178,181],{},"Click ",[171,179,180],{},"Create Hyperdrive"," and connect it to your database (e.g., Postgres, MySQL).",[158,183,184,185,174],{},"Once created, copy the ",[171,186,187],{},"Hyperdrive ID",[158,189,190,191],{},"Run the following command in your project\n",[192,193,200],"pre",{"className":194,"code":196,"filename":197,"language":198,"meta":199},[195],"language-text","mv wrangler.example.toml wrangler.toml\n","Terminal","text","",[201,202,196],"code",{"__ignoreMap":199},[158,204,205,206],{},"Set it to wrangler.toml:\n",[192,207,211],{"className":208,"code":209,"filename":210,"language":198,"meta":199},[195],"[[hyperdrive]]\nbinding = \"HYPERDRIVE\"\nid = \"your-hyperdrive-id\"\n","wrangler.toml",[201,212,209],{"__ignoreMap":199},[158,214,215,216],{},"Set nitro preset in environment variable:",[192,217,221],{"className":218,"code":219,"filename":220,"language":198,"meta":199},[195],"NITRO_PRESET=\"cloudflare_module\"\n",".env",[201,222,219],{"__ignoreMap":199},[158,224,225],{},"Commit changes and push to your repository.",[158,227,228,229],{},"Deploy via Cloudflare:",[165,230,231,237,240,246,253],{},[158,232,233,234,174],{},"Go to ",[171,235,236],{},"Workers & Pages → Create Application → Create Worker",[158,238,239],{},"Connect your GitHub repository.",[158,241,242,243],{},"Set the build command to: ",[201,244,245],{},"npm run build",[158,247,248,249,252],{},"Add environment variables (",[201,250,251],{},".env.local"," values).",[158,254,255],{},"Click Deploy to build and launch",[158,257,258],{},"Access and verify your live site at the Cloudflare Workers URL.",[158,260,261],{},"Auto-deploy happens on every push to the main branch.",[158,263,264],{},"Check logs in Cloudflare dashboard if something fails during build or runtime.",{"title":199,"searchDepth":266,"depth":266,"links":267},2,[268],{"id":153,"depth":266,"text":12},"Learn how to deploy your app to Cloudflare Workers.","md",null,{},true,{"title":141,"description":269},{"loc":142},"8Bjp13YNP9uJX1DlDSyshDQmiJxAaUMP-uUXwv5N-zo",[278,271],{"title":137,"path":138,"stem":139,"description":279,"children":-1},"Learn how to deploy your app to Vercel."]