Nuxt 2
Installation in Nuxt 2
Erstelle eine Plugin-Datei capacitor-updaterjs
im plugins
Verzeichnis
import { CapacitorUpdater } from '@capgo/capacitor-updater'
export default ({ app }) => { if (processclient) { windowonNuxtReady(() => { CapacitorUpdaternotifyAppReady() }) }}
Dies lädt das Plugin auf der Client-Seite und benachrichtigt die App, dass sie bereit ist, Updates zu empfangen