How to deploy your Astro site to the web using Google’s Firebase Hosting.
Firebase Hosting is a service provided by Google’s Firebase app development platform, which can be used to deploy an Astro site.
See our separate guide for adding Firebase backend services such as databases, authentication, and storage.
Project Configuration
Section titled “Project Configuration”Your Astro project can be deployed to Firebase as a static site, or as a server-side rendered site (SSR).
Static Site
Section titled “Static Site”Your Astro project is a static site by default. You don’t need any extra configuration to deploy a static Astro site to Firebase.
Adapter for SSR
Section titled “Adapter for SSR”To enable SSR in your Astro project and deploy on Firebase add the Node.js adapter.