Skip to content

Commit 2bf116c

Browse files
committed
feat(nuxt): add auto imports app
1 parent bb9f2fd commit 2bf116c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: packages/nuxt/src/module.ts

+3
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ const VueFire: NuxtModule<VueFireNuxtModuleOptions> =
170170
addPlugin(resolve(runtimeDir, 'app/plugin'))
171171

172172
addVueFireImports([
173+
// app
174+
{ from: 'vuefire', name: 'useFirebaseApp' },
175+
173176
// firestore
174177
{ from: 'vuefire', name: 'useDocument' },
175178
{ from: 'vuefire', name: 'useCollection' },

0 commit comments

Comments
 (0)