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

質問編集履歴

1

編集

2025/07/31 23:59

投稿

takakichiv
takakichiv

スコア1

title CHANGED
File without changes
body CHANGED
@@ -202,38 +202,6 @@
202
202
  export default App;
203
203
  ```
204
204
 
205
- ```firebase.js
206
- import { initializeApp } from "firebase/app";
207
- import { getFirestore } from "firebase/firestore";
208
- import { getAuth, GoogleAuthProvider } from "firebase/auth";//認証モジュール
209
-
210
- // TODO: Add SDKs for Firebase products that you want to use
211
- // https://firebase.google.com/docs/web/setup#available-libraries
212
-
213
- // Your web app's Firebase configuration
214
- // For Firebase JS SDK v7.20.0 and later, measurementId is optional
215
- const firebaseConfig = {
216
- apiKey: "AIzaSyBBFLG5RN_aM8V7Jf5NziCJiaPLB6AnR9s",
217
- authDomain: "neko-management-app.firebaseapp.com",
218
- projectId: "neko-management-app",
219
- storageBucket: "neko-management-app.firebasestorage.app",
220
- messagingSenderId: "91628694494",
221
- appId: "1:91628694494:web:94d92f2749727b0dac0b4f",
222
- measurementId: "G-ZSLH4F4DM9"
223
- };
224
-
225
- // Initialize Firebase
226
- const app = initializeApp(firebaseConfig);
227
-
228
- const db = getFirestore(app);//firestoreのインスタンス作成
229
-
230
- export { db };
231
- export default app;
232
-
233
- export const auth = getAuth(app);
234
- export const provider = new GoogleAuthProvider();
235
- ```
236
-
237
205
  ### 試したこと・調べたこと
238
206
  - [ ] teratailやGoogle等で検索した
239
207
  - [x] ソースコードを自分なりに変更した