We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 256907e commit 52b5a56Copy full SHA for 52b5a56
src/app-check/index.ts
@@ -26,6 +26,21 @@ export interface VueFireAppCheckOptions extends AppCheckOptions {
26
debug?: boolean
27
}
28
29
+/**
30
+ * VueFire AppCheck Module to be added to the `VueFire` Vue plugin options.
31
+ *
32
+ * @example
33
34
+ * ```ts
35
+ * import { createApp } from 'vue'
36
+ * import { VueFire, VueFireAppCheck } from 'vuefire'
37
38
+ * const app = createApp(App)
39
+ * app.use(VueFire, {
40
+ * modules: [VueFireAppCheck()],
41
+ * })
42
+ * ```
43
+ */
44
export function VueFireAppCheck(options: VueFireAppCheckOptions) {
45
return (firebaseApp: FirebaseApp, app: App) => {
46
// provide this even on the server for simplicity of usage
0 commit comments