Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝작업 내용
vite-plugin-pwa를 이용해 PWA 설정을 추가했습니다.앱 이름, 설명, 테마 색상 및 시작 화면 배경색을 설정했습니다.
홈 화면 설치용 아이콘을 추가했습니다.
앱 실행 시 서비스 워커가 자동으로 업데이트되도록 설정했습니다.
PWA 서비스 워커와 FCM 서비스 워커의 scope가 겹치지 않도록 분리했습니다.
서비스 워커 구성
PWA 캐시 및 오프라인 기능
/sw.js/FCM 백그라운드 푸시 알림
/firebase-messaging-sw.js/firebase-cloud-messaging-push-scopePWA 설정
display:standalonetheme_color:#5BB5F8background_color:#F4F8FFregisterType:autoUpdate