본문 바로가기

firebase4

전화번호로 Firebase에 인증하기 with Vue3 2024. 1. 17.
Quasar with Error handler (validate-rules) 1. setup $ quasar new boot error-handler 2. quasar.config.js EDIT boot: [ 'firebase', 'error-handler', // 추가 ], 3. boot/error-handler.js import { boot } from 'quasar/wrappers'; import { Notify } from 'quasar'; import { getErrorMessage } from 'src/utils/firebase/error-message'; export default boot(async ({ app }) => { app.config.errorHandler = (err, instance, info) => { console.log('### app.confi.. 2024. 1. 16.
Quasar with Firebase 1. firebase web app 생성하기 2. firebase 설치하기 $ npm install firebase $ quasar new boot firebase 3. boot/firebase.js 파일 수정하기 import { boot } from 'quasar/wrappers' import { initializeApp } from "firebase/app"; import { getAnalytics } from "firebase/analytics"; import { getAuth, onAuthStateChanged } from 'firebase/auth'; import { useAuthStore } from 'stores/auth'; const firebaseConfig = { apiKey: "###.. 2024. 1. 15.
Firebase yarn 설치하기 mac을 포멧 후 일주일 뒤 firebase functions 서버를 로컬로 구동하려고 시도를 했다. 잊고 있었던 코드가 나타났다. $ sh: firebase: command not found 보통 설치하고 나면 몇년간은 볼 일 없기 때문에 이번에 정리한번 해보겠다. 아마...다음번에는 또 버전이 달라져서 반복 할 수도 있겠지만. 1. yarn 을 통해서 firebase-tools 설치하기 $ yarn add global firebase-tools 2. firebase login 이제 설치가 잘 되었는지 확인도 할겸 로그인을 해보자 로그인도 상당히 간단하다. $ yarn firebase login 중간이 콘솔창에서 무엇인가 물어보는데 엔터를 쳤다. 이후에 웹 브라우저가 나타나면서 구글 계정 로그인을 진행.. 2023. 11. 13.