Saltearse al contenido

Nuxt 2

Esta página aún no está disponible en tu idioma.

Install in Nuxt 2

Create a plugin file capacitor-updater.js in plugins directory.

import { CapacitorUpdater } from '@capgo/capacitor-updater'
export default ({ app }) => {
if (process.client) {
window.onNuxtReady(() => {
CapacitorUpdater.notifyAppReady()
})
}
}

This will load the plugin on the client side and notify the app that it is ready to receive updates.