🔥 Firebase Setup
Install Firebase and the Vuefire package
Install the Vuefire & Firebase
command line
npm i vuefire firebase
Install the Vuefire & Firebase
import { firestorePlugin } from 'vuefire'
Vue.use(firestorePlugin)
Initialize Firebase
import firebase from 'firebase/app';
import 'firebase/firestore';
import 'firebase/auth';
import 'firebase/storage';
const firebaseConfig = {
// Add your config here
};
firebase.initializeApp(firebaseConfig);
export const db = firebase.firestore();
export const auth = firebase.auth();
export const storage = firebase.storage();