added firebase and pinia

This commit is contained in:
Xeovalyte 2022-09-19 08:55:42 +02:00
parent b3d63dd99c
commit 953fd137b1
4 changed files with 2011 additions and 91 deletions

View File

@ -1,4 +1,4 @@
// https://v3.nuxtjs.org/api/configuration/nuxt.config // https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({ export default defineNuxtConfig({
modules: ['@nuxtjs/tailwindcss', '@formkit/nuxt', 'nuxt-icon', '@vueuse/nuxt'] modules: ['@nuxtjs/tailwindcss', '@formkit/nuxt', 'nuxt-icon', '@vueuse/nuxt', '@pinia/nuxt']
}) })

File diff suppressed because it is too large Load Diff

View File

@ -16,6 +16,8 @@
}, },
"dependencies": { "dependencies": {
"@formkit/nuxt": "^1.0.0-beta.10", "@formkit/nuxt": "^1.0.0-beta.10",
"@pinia/nuxt": "^0.4.2",
"firebase": "^9.10.0",
"vue-toastification": "^2.0.0-rc.5" "vue-toastification": "^2.0.0-rc.5"
} }
} }

View 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);