Nuxt 2
Installazione in Nuxt 2
Crea un file plugin capacitor-updaterjs
nella directory plugins
import { CapacitorUpdater } from '@capgo/capacitor-updater'
export default ({ app }) => { if (processclient) { windowonNuxtReady(() => { CapacitorUpdaternotifyAppReady() }) }}
Questo caricherà il plugin sul lato client e notificherà all’app che è pronta a ricevere aggiornamenti