Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import firebase from 'firebase/app';
- import 'firebase/firestore';
- import 'firebase/auth';
- // Get a Firestore instance
- console.log('Initialize firebase app');
- const app = firebase
- .initializeApp({
- projectId: '',
- apiKey: '',
- });
- export const db = app.firestore();
- export const auth = app.auth();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement