file: add firebase init js file
This commit is contained in:
1 parent
3e70fbcfb7
commit
47c0f50047
1 file changed
+14
@@ -0,0 +1,14 @@
|
|||||||
|
import firebase from "firebase/app";
|
||||||
|
import "firebase/firestore";
|
||||||
|
|
||||||
|
const firebaseConfig = {
|
||||||
|
apiKey: process.env.VUE_APP_FIREBASE_API_KEY,
|
||||||
|
authDomain: "weatherapp-f1a10.firebaseapp.com",
|
||||||
|
projectId: "weatherapp-f1a10",
|
||||||
|
storageBucket: "weatherapp-f1a10.appspot.com",
|
||||||
|
messagingSenderId: "560912288743",
|
||||||
|
appId: "1:560912288743:web:ee75e4c0c2a23f58110b42",
|
||||||
|
};
|
||||||
|
// Initialize Firebase
|
||||||
|
const firebaseApp = firebase.initializeApp(firebaseConfig);
|
||||||
|
export default firebaseApp.firestore();
|
||||||
Reference in new issue
Block a user