added firebase and pinia
This commit is contained in:
parent
b3d63dd99c
commit
953fd137b1
@ -1,4 +1,4 @@
|
||||
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
||||
export default defineNuxtConfig({
|
||||
modules: ['@nuxtjs/tailwindcss', '@formkit/nuxt', 'nuxt-icon', '@vueuse/nuxt']
|
||||
modules: ['@nuxtjs/tailwindcss', '@formkit/nuxt', 'nuxt-icon', '@vueuse/nuxt', '@pinia/nuxt']
|
||||
})
|
||||
|
2083
frontend/package-lock.json
generated
2083
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -16,6 +16,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@formkit/nuxt": "^1.0.0-beta.10",
|
||||
"@pinia/nuxt": "^0.4.2",
|
||||
"firebase": "^9.10.0",
|
||||
"vue-toastification": "^2.0.0-rc.5"
|
||||
}
|
||||
}
|
||||
|
15
frontend/plugins/firebase.js
Normal file
15
frontend/plugins/firebase.js
Normal file
@ -0,0 +1,15 @@
|
||||
import { initializeApp } from "firebase/app";
|
||||
import { getAnalytics } from "firebase/analytics";
|
||||
|
||||
const firebaseConfig = {
|
||||
apiKey: "AIzaSyCtHFyfCRkBt8MX5LPFogBi8ssKSypkW0g",
|
||||
authDomain: "wrbapp.firebaseapp.com",
|
||||
projectId: "wrbapp",
|
||||
storageBucket: "wrbapp.appspot.com",
|
||||
messagingSenderId: "160377508482",
|
||||
appId: "1:160377508482:web:f651ccf2b242daf4879a9b",
|
||||
measurementId: "G-31HEXDSVPZ"
|
||||
};
|
||||
|
||||
const app = initializeApp(firebaseConfig);
|
||||
const analytics = getAnalytics(app);
|
Loading…
Reference in New Issue
Block a user