plugins 디렉토리에 capacitor-updaterjs 플러그인 파일 생성
plugins
capacitor-updaterjs
import { CapacitorUpdater } from '@capgo/capacitor-updater' export default ({ app }) => { if (processclient) { windowonNuxtReady(() => { CapacitorUpdaternotifyAppReady() }) }}
이는 클라이언트 측에서 플러그인을 로드하고 앱이 업데이트를 받을 준비가 되었음을 알립니다