We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, how to specify the Firebase config in the production correctly? I tried to put the below in but did not work. Tks.
The firebase config like this:
VITE_NODE_ENV=production VITE_FIREBASE_CONFIG={ apiKey: "===============", authDomain: "=====saas.firebaseapp.com", projectId: "====-saas", storageBucket: "=======-saas.appspot.com", messagingSenderId: "=====", appId: "1:=====:web:4d222293978711fc8d96ea", measurementId: "G-P======" };
The text was updated successfully, but these errors were encountered:
Hey @stevennt , It should be one line stringfied JSON. You can use JSON.stringfy(FIREBASE_CONFIG) and paste it in .env file.
.env
Sorry, something went wrong.
Works like a charm. Thanks!
No branches or pull requests
Hi, how to specify the Firebase config in the production correctly? I tried to put the below in but did not work. Tks.
The firebase config like this:
VITE_NODE_ENV=production VITE_FIREBASE_CONFIG={ apiKey: "===============", authDomain: "=====saas.firebaseapp.com", projectId: "====-saas", storageBucket: "=======-saas.appspot.com", messagingSenderId: "=====", appId: "1:=====:web:4d222293978711fc8d96ea", measurementId: "G-P======" };
The text was updated successfully, but these errors were encountered: