File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -2,28 +2,11 @@ import {
2
2
VueFire,
3
3
useSSRInitialState,
4
4
} from 'vuefire'
5
- import {
6
- defineNuxtPlugin,
7
- useAppConfig,
8
- } from '#app'
9
- import {
10
- connectFirestoreEmulator,
11
- getFirestore,
12
- } from 'firebase/firestore'
13
- import {
14
- connectDatabaseEmulator,
15
- getDatabase,
16
- } from 'firebase/database'
5
+ import { defineNuxtPlugin } from '#app'
17
6
18
7
export default defineNuxtPlugin((nuxtApp) => {
19
- const appConfig = useAppConfig()
20
-
21
8
const firebaseApp = nuxtApp.$firebaseApp
22
9
23
- // TODO: emulator option
24
- // connectFirestoreEmulator(getFirestore(firebaseApp), 'localhost', 8080)
25
- // connectDatabaseEmulator(getDatabase(firebaseApp), 'localhost', 8081)
26
-
27
10
nuxtApp.vueApp.use(VueFire, { firebaseApp })
28
11
29
12
<% if (options .ssr ) { % >
You can’t perform that action at this time.
0 commit comments