vuepress firebase authentication

Solutions on MaxInterview for vuepress firebase authentication by the best coders in the world

showing results for - "vuepress firebase authentication"
Mickey
28 Sep 2019
1 head: [
2
3    [
4      "script",
5      {
6        src: "https://www.gstatic.com/firebasejs/5.5.6/firebase-app.js"
7      }
8    ],
9
10    [
11      "script",
12      {
13        src: "https://www.gstatic.com/firebasejs/5.5.6/firebase-auth.js"
14      }
15    ],
16
17    [
18      "script",
19      {
20        src: "https://www.gstatic.com/firebasejs/5.5.6/firebase-firestore.js"
21      }
22    ],
23
24    [
25      "script",
26      {
27        src: "https://www.gstatic.com/firebasejs/5.5.6/firebase-functions.js"
28      }
29    ],
30
31    [
32      "script",
33      {},
34      `var config = {
35        apiKey: "apikey",
36        authDomain: "app.firebaseapp.com",
37        databaseURL: "https://app.firebaseio.com",
38        projectId: "appname",
39        storageBucket: "appname.appspot.com",
40        messagingSenderId: "12345"
41      };
42      firebase.initializeApp(config);
43      const firestore = firebase.firestore();
44      const settings = { /* your settings... */
45          timestampsInSnapshots: true
46      };
47      firestore.settings(settings);`
48    ],
49    ]
50