Created
March 13, 2018 07:36
-
-
Save cannap/86d4b6941d9ed36de9ced19140c33703 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import firebase from './index' | |
| const db = firebase.firestore() | |
| export default db |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import firebase from '@firebase/app' | |
| import '@firebase/auth' | |
| require('@firebase/firestore') | |
| firebase.initializeApp({ | |
| apiKey: 'AIzaSyBj-SRiWTPBU_au0OfdklVxCBKjVRqIH5w', | |
| authDomain: 'event-3b891.firebaseapp.com', | |
| databaseURL: 'https://event-3b891.firebaseio.com', | |
| projectId: 'event-3b891', | |
| storageBucket: 'event-3b891.appspot.com', | |
| messagingSenderId: '378165986536' | |
| }) | |
| export default firebase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment