Answers for "This dependency was not found: * firebase in ./src/main.js To install it, you can run: npm install --save firebase"

1

This dependency was not found: * firebase in ./src/main.js To install it, you can run: npm install --save firebase

//to use firebase app
import firebase from 'firebase/app'; //older version
import firebase from 'firebase/compat/app'; //v9

//to use auth
import 'firebase/auth'; //older version
import 'firebase/compat/auth'; //v9

//to use firestore
import 'firebase/firestore'; //Older Version
import 'firebase/compat/firestore'; //v9
Posted by: Guest on September-26-2021

Code answers related to "This dependency was not found: * firebase in ./src/main.js To install it, you can run: npm install --save firebase"

Browse Popular Code Answers by Language