WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/app-check.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
Start by adding the `VueFireAppCheck` module to the `VueFire` plugin:
8
8
9
9
```ts
10
-
import { VueFire, VueFireAuth } from'vuefire'
10
+
import { VueFire, VueFireAppCheck } from'vuefire'
11
11
app.use(VueFire, {
12
12
firebaseApp: createFirebaseApp(),
13
13
modules: [
@@ -22,7 +22,7 @@ app.use(VueFire, {
22
22
In order to use App Check you need to enable it in the Firebase Console > App Check. You also need to setup [a reCAPTCHA provider](https://firebase.google.com/docs/app-check#web), then provide it in the `VueFireAppCheck` module:
23
23
24
24
```ts{2,9}
25
-
import { VueFire, VueFireAuth } from 'vuefire'
25
+
import { VueFire, VueFireAppCheck } from 'vuefire'
26
26
import { ReCaptchaV3Provider } from 'firebase/app-check'
27
27
28
28
app.use(VueFire, {
@@ -40,7 +40,7 @@ app.use(VueFire, {
40
40
During development, it might be convenient to use a debug token by setting `debug` to `true`. You can then add it to your debug tokens in the Firebase Console > App Check > Apps > Manage Debug Tokens.
41
41
42
42
```ts{10-11}
43
-
import { VueFire, VueFireAuth } from 'vuefire'
43
+
import { VueFire, VueFireAppCheck } from 'vuefire'
44
44
import { ReCaptchaV3Provider } from 'firebase/app-check'
0 commit comments