🔥 Firebase Setup

Install Firebase and the Vuefire package

Install the Vuefire & Firebase

command line
npm i vuefire firebase

Install the Vuefire & Firebase

file_type_js main.js
import { firestorePlugin } from 'vuefire'
Vue.use(firestorePlugin)

Initialize Firebase

file_type_js firebase.js
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();

Questions? Let's chat

Open Discord