Hello,
For several hours I have been trying unsuccessfully to implement Metronic on Firebase hosting. Has anyone managed to do this? Is this even possible? Locally, all Metronic works without a problem, and after uploading to Firebase hosting I have a blank screen - https://fobos-mag.web.app
Hi,
Sure, it's possible to deploy Metronic React to any hosting environment.
Our react experts will get back to you soon after debugging your site.
Also you can double check the docs here
If you have the latest info to share please do so.
Regards.
Hi,
To make it easier, I posted the code - https://github.com/kkruzewski/Fobos-Mag---React
I didn't change anything else in this code except sending to firebase. This is pure code downloaded from ThemeForest.
When I build the local server I also have a blank screen. Here are the commands it runs to build the server in the dist folder.
https://github.com/kkruzewski/Fobos-Mag---React/blob/main/mylogs
Hi,
In the console of the application you have provided, I see a few errors saying FirebaseError: Firebase: No Firebase App '[DEFAULT]' has been created - call initializeApp() first (app/no-app).. We haven't tried to deploy Metronic on Firebase, but the errors are not related to our code.
As per this comment the errors are related to the Firebase code you have added.
Please make sure that your Firebase part works correctly, you can find more guidance on deploying React app to Firebase in this tutorial.
Regards,
Lauris Stepanovs,
Keenthemes Support Team