Deploy your Astro Site to 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.
How to deploy
Section titled How to deploy-
Make sure you have firebase-tools installed.
-
Create
firebase.json
and.firebaserc
at the root of your project with the following content: -
After running
npm run build
, deploy using the commandfirebase deploy
.