[{"data":1,"prerenderedAt":353},["ShallowReactive",2],{"navigation":3,"-deploy-providers-firebase":224,"-deploy-providers-firebase-surround":348},[4,83,208,214,221],{"title":5,"path":6,"stem":7,"children":8,"icon":82},"","/docs","1.docs/1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-compass",{"title":13,"path":14,"stem":15,"icon":16},"Quick Start","/docs/quick-start","1.docs/2.quick-start","i-lucide-zap",{"title":18,"path":19,"stem":20,"icon":21},"Renderer","/docs/renderer","1.docs/4.renderer","ri:layout-masonry-line",{"title":23,"path":24,"stem":25,"icon":26},"Routing","/docs/routing","1.docs/5.routing","ri:direction-line",{"title":28,"path":29,"stem":30,"icon":31},"Assets","/docs/assets","1.docs/50.assets","ri:image-2-line",{"title":33,"path":34,"stem":35,"icon":36},"Configuration","/docs/configuration","1.docs/50.configuration","ri:settings-3-line",{"title":38,"path":39,"stem":40,"icon":41},"Database","/docs/database","1.docs/50.database","ri:database-2-line",{"title":43,"path":44,"stem":45,"icon":46},"Lifecycle","/docs/lifecycle","1.docs/50.lifecycle","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"Plugins","/docs/plugins","1.docs/50.plugins","ri:plug-line",{"title":53,"path":54,"stem":55,"icon":56},"Tasks","/docs/tasks","1.docs/50.tasks","codicon:run-all",{"title":58,"path":59,"stem":60,"icon":61},"Server Entry","/docs/server-entry","1.docs/6.server-entry","ri:server-line",{"title":63,"path":64,"stem":65,"icon":66},"Cache","/docs/cache","1.docs/7.cache","ri:speed-line",{"title":68,"path":69,"stem":70,"icon":71},"KV Storage","/docs/storage","1.docs/8.storage","carbon:datastore",{"title":73,"path":74,"stem":75,"icon":76},"Migration Guide","/docs/migration","1.docs/99.migration","ri:arrow-right-up-line",{"title":78,"path":79,"stem":80,"icon":81},"Nightly Channel","/docs/nightly","1.docs/99.nightly","ri:moon-fill","i-lucide-book-open",{"title":84,"path":85,"stem":86,"children":87,"icon":89},"Deploy","/deploy","2.deploy/0.index",[88,90,111],{"title":84,"path":85,"stem":86,"icon":89},"ri:upload-cloud-2-line",{"title":91,"path":92,"stem":93,"children":94,"page":110},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[95,100,105],{"title":96,"path":97,"stem":98,"icon":99},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":101,"path":102,"stem":103,"icon":104},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":106,"path":107,"stem":108,"icon":109},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":112,"path":113,"stem":114,"children":115,"page":110},"Providers","/deploy/providers","2.deploy/20.providers",[116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204],{"title":117,"path":118,"stem":119},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":121,"path":122,"stem":123},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":125,"path":126,"stem":127},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":129,"path":130,"stem":131},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":133,"path":134,"stem":135},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":137,"path":138,"stem":139},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":141,"path":142,"stem":143},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":145,"path":146,"stem":147},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":149,"path":150,"stem":151},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":153,"path":154,"stem":155},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":157,"path":158,"stem":159},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":161,"path":162,"stem":163},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":165,"path":166,"stem":167},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":169,"path":170,"stem":171},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":173,"path":174,"stem":175},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":177,"path":178,"stem":179},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":181,"path":182,"stem":183},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":185,"path":186,"stem":187},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":189,"path":190,"stem":191},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":193,"path":194,"stem":195},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":197,"path":198,"stem":199},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":201,"path":202,"stem":203},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":205,"path":206,"stem":207},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":209,"path":210,"stem":211,"children":212,"icon":36},"Config","/config","3.config/0.index",[213],{"title":209,"path":210,"stem":211,"icon":36},{"title":215,"path":216,"stem":217,"children":218,"icon":220},"Examples","/examples","4.examples/0.index",[219],{"title":215,"path":216,"stem":217,"icon":220},"i-lucide-folder-code",{"title":5,"path":222,"stem":223},"/","index",{"id":225,"title":149,"body":226,"description":342,"extension":343,"meta":344,"navigation":345,"path":150,"seo":346,"stem":151,"__hash__":347},"content/2.deploy/20.providers/firebase.md",{"type":227,"value":228,"toc":335},"minimark",[229,247,252,259,264,275,280,332],[230,231,232],"note",{},[233,234,235,236,246],"p",{},"You will need to be on the ",[237,238,242],"a",{"href":239,"rel":240},"https://firebase.google.com/pricing",[241],"nofollow",[243,244,245],"strong",{},"Blaze plan"," (Pay as you go) to get started.",[248,249,251],"h2",{"id":250},"firebase-app-hosting","Firebase app hosting",[233,253,254,255],{},"Preset: ",[256,257,258],"code",{},"firebase_app_hosting",[260,261],"read-more",{"title":262,"to":263},"Firebase App Hosting","https://firebase.google.com/docs/app-hosting",[265,266,267],"tip",{},[233,268,269,270,274],{},"You can integrate with this provider using ",[237,271,273],{"href":272},"/deploy/#zero-config-providers","zero configuration",".",[276,277,279],"h3",{"id":278},"project-setup","Project setup",[281,282,284,294,308,329],"steps",{"level":283},"4",[285,286,287,288,293],"h4",{},"Go to the Firebase ",[237,289,292],{"href":290,"rel":291},"https://console.firebase.google.com/",[241],"console"," and set up a new project.",[285,295,296,297,300,301],{},"Select ",[243,298,299],{},"Build > App Hosting"," from the sidebar.\n",[302,303,304],"ul",{},[305,306,307],"li",{},"You may need to upgrade your billing plan at this step.",[285,309,310,311,314,315],{},"Click ",[243,312,313],{},"Get Started",".\n",[302,316,317,320,323,326],{},[305,318,319],{},"Choose a region.",[305,321,322],{},"Import a GitHub repository (you’ll need to link your GitHub account).",[305,324,325],{},"Configure deployment settings (project root directory and branch), and enable automatic rollouts.",[305,327,328],{},"Choose a unique ID for your backend.",[285,330,331],{},"Click Finish & Deploy to create your first rollout.",[233,333,334],{},"When you deploy with Firebase App Hosting, the App Hosting preset will be run automatically at build time.",{"title":5,"searchDepth":336,"depth":336,"links":337},2,[338],{"id":250,"depth":336,"text":251,"children":339},[340],{"id":278,"depth":341,"text":279},3,"Deploy Nitro apps to Firebase.","md",{},{},{"title":149,"description":342},"KIqLp-lKoK_8Eeh5t4FbwD6Q16oCBbe7FiygeLyktFk",[349,351],{"title":145,"path":146,"stem":147,"description":350,"children":-1},"Deploy Nitro apps to DigitalOcean.",{"title":153,"path":154,"stem":155,"description":352,"children":-1},"Deploy Nitro apps to AWS via Flightcontrol.",1771523839912]