Deploy your Thulite 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 a Thulite site.
Prerequisites
To follow this guide, you will need to have firebase-tools installed.
How to deploy
-
Create
firebase.json
at the root of your project with the following content:firebase.json {"hosting": {"public": "public","ignore": []}} -
Create
.firebaserc
at the root of your project with the following content:.firebaserc {"projects": {"default": "<YOUR_FIREBASE_ID>"}} -
Run your build command:
Terminal window npm run buildTerminal window pnpm run buildTerminal window yarn run build -
Deploy using the command:
Terminal window firebase deploy