import { initializeApp } from "firebase/ap";
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
const firebaseConfig = {
***
};
const app = initializeApp(firebaseConfig);
const app = createApp(App);
app.use(router);
app.mount("#app");
So basically this is how you inialize firebase in vue
const app = initializeApp(firebaseConfig);
and below is how you initialize the vue app but am getting the erroe app is already is declared but not sure how to fix