teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

誤字

2020/06/09 13:26

投稿

kazuki_user
kazuki_user

スコア147

title CHANGED
File without changes
body CHANGED
@@ -22,7 +22,7 @@
22
22
  [『Firebase を JavaScript プロジェクトに追加する』](https://firebase.google.com/docs/web/setup?authuser=0#hosting-url-%E3%81%8B%E3%82%89)
23
23
 
24
24
 
25
- ```
25
+ ```html
26
26
  <body>
27
27
  <!-- Insert these scripts at the bottom of the HTML, but before you use any Firebase services -->
28
28
 

1

誤字

2020/06/09 13:26

投稿

kazuki_user
kazuki_user

スコア147

title CHANGED
File without changes
body CHANGED
@@ -22,6 +22,45 @@
22
22
  [『Firebase を JavaScript プロジェクトに追加する』](https://firebase.google.com/docs/web/setup?authuser=0#hosting-url-%E3%81%8B%E3%82%89)
23
23
 
24
24
 
25
+ ```
26
+ <body>
27
+ <!-- Insert these scripts at the bottom of the HTML, but before you use any Firebase services -->
28
+
29
+ <!-- Firebase App (the core Firebase SDK) is always required and must be listed first -->
30
+ <script src="/__/firebase/6.2.0/firebase-app.js"></script>
31
+
32
+ <!-- Add Firebase products that you want to use -->
33
+ <script src="/__/firebase/6.2.0/firebase-auth.js"></script>
34
+ <script src="/__/firebase/6.2.0/firebase-firestore.js"></script>
35
+ </body>
36
+
37
+ //ーーーーーーーーーーーーーーーーーーーーーー
38
+
39
+ <body>
40
+ <!-- Previously loaded Firebase SDKs -->
41
+
42
+ <!-- Initialize Firebase -->
43
+ <script src="/__/firebase/init.js"></script>
44
+ </body>
45
+
46
+
47
+ //ーーーーーーーーーーーーーーーーーーーーーー
48
+
49
+
50
+
51
+ var firebaseConfig = {
52
+ apiKey: "api-key",
53
+ authDomain: "project-id.firebaseapp.com",
54
+ databaseURL: "https://project-id.firebaseio.com",
55
+ projectId: "project-id",
56
+ storageBucket: "project-id.appspot.com",
57
+ messagingSenderId: "sender-id",
58
+ appID: "app-id",
59
+ };
60
+
61
+
62
+ ```
63
+
25
64
  ---
26
65
 
27
66