---
title: Live Updates for Nuxt Capacitor Apps
description: Implement Live Updates in your Nuxt Capacitor apps with Capawesome Cloud. Ship instant updates without going through app store review.
date: 
  created: 2025-07-06
  updated: 2026-07-17
authors:
  - robingenz
categories:
  - Capacitor
  - Cloud
  - Guides
  - SDKs
links:
  - Capacitor Live Update: sdks/capacitor/live-update.md
faq: true
---

# Live Updates for Nuxt Capacitor Apps with Capawesome Cloud

Live Updates, also known as Over-the-Air (OTA) or hot code updates, are a way to push updates to your Android or iOS app without going through the app store review process. This is particularly useful for fixing bugs, adding new features, or making changes to your app without requiring users to download a new version from the app store. For this, we will use the [Capacitor Live Update plugin](../../sdks/capacitor/live-update.md) from Capawesome in combination with [Capawesome Cloud](/){:target="_blank"}.

<!-- more -->

## Installation

To enable Live Updates in your Capacitor app, you need to install the `@capawesome/capacitor-live-update` plugin:

```bash
npm install @capawesome/capacitor-live-update
```

After that, you need to sync the changes with your native projects:

```bash
npx cap sync
```

## Configuration

Next, you need to configure the plugin to work with [Capawesome Cloud](/){:target="_blank"}.

### App ID

In order for your app to identify itself to Capawesome Cloud, you need to set the `appId` in your `capacitor.config` file. For this, you need to create an app on the [Capawesome Cloud Console](https://console.cloud.capawesome.io/){:target="_blank"} and get the App ID.

```json
{
  "plugins": {
    "LiveUpdate": {
      "appId": "00000000-0000-0000-0000-000000000000"
    }
  }
}
```

Replace `00000000-0000-0000-0000-000000000000` with your actual App ID from the Capawesome Cloud Console.

After configuring the App ID, sync your Capacitor project again:

```bash
npx cap sync
```

## Usage

The most basic usage of the Live Update plugin is to call the [`sync(...)`](../../sdks/capacitor/live-update.md#sync) method when the app starts. This method checks for updates, downloads them if available, and sets them as the next bundle to be applied. You can then call the [`reload()`](../../sdks/capacitor/live-update.md#reload) method to apply the update immediately. If the [`reload()`](../../sdks/capacitor/live-update.md#reload) method is not called, the new bundle will be used on the next app start.

```js
import { LiveUpdate } from "@capawesome/capacitor-live-update"

const sync = async () => {
  const result = await LiveUpdate.sync()
  if (result.nextBundleId) {
    await LiveUpdate.reload()
  }
}
```

## Publishing updates

To publish your first update, you need to [create a bundle](../../cloud/live-updates/bundles.md#create-a-bundle) on Capawesome Cloud. For this, you need a bundle artifact. A bundle artifact is the build output of your web app. In Nuxt, this is the `dist` folder. You can create a bundle artifact by running the following command:

```bash
npx nuxi generate
```

This will create a `dist` folder with the build output of your web app. You can then upload this folder to Capawesome Cloud using the [Capawesome CLI](../../cloud/cli/index.md).
To install the Capawesome CLI, run the following command:

```bash
npm i -g @capawesome/cli
```

After installing the Capawesome CLI, you need to log in to your Capawesome Cloud account. Run the following command and follow the instructions:

```bash
npx capawesome login
```

Once you are logged in, you can create a bundle by running the following command:

```bash
npx capawesome apps:liveupdates:upload --path dist
```

Congratulations! You have successfully published your first live update. You can now test it by running your app on a device or emulator. The app will check for updates and apply them if available.
Feel free to check out the [documentation](../../sdks/capacitor/live-update.md) of the Live Update plugin to see what else you can do with it.

## FAQ

### Does `nuxi generate` produce the right output for a Live Update bundle, or do I need a different build command?

`nuxi generate` is the right command — it produces the static `dist` output that Capacitor's WebView loads, which is exactly what a live update bundle needs to contain. Just make sure you're generating a fully static build (via Nuxt's static site generation mode) rather than relying on server-rendered routes, since a live update bundle has no server behind it on the device.

### What happens if I call `sync()` but skip `reload()`?

The downloaded bundle is set as the next bundle but won't be applied until the app's next cold start. Calling `reload()` immediately after a successful `sync()` (when `result.nextBundleId` is present) applies the update right away instead of waiting for the user to relaunch the app — useful when you want the fix live in the current session rather than the next one.

### Do I need to re-run `npx cap sync` every time I publish a new live update bundle?

No — `cap sync` is only needed after installing the plugin or changing your `capacitor.config` (like setting the `appId`). Publishing a new live update bundle is a separate step (`apps:liveupdates:upload`) that doesn't touch your native project files, so it doesn't require a sync.

### Can users on an older native app version receive a Nuxt bundle built against a newer plugin API?

Only if the bundle doesn't call anything the older native binary doesn't have — if your Nuxt app starts using a newer Capacitor plugin method after a native release, that bundle can break on older installs. Pinning bundles to specific native versions via channels avoids this; see the [complete Live Updates guide](./capacitor-live-updates-guide.md) for the versioned channel setup.

## Related Posts

- [Announcing the Live Update Plugin for Capacitor](./announcing-the-capacitor-live-update-plugin.md)
- [Capacitor App Updates: The Complete Guide](./capacitor-app-update-guide.md)
- [Capacitor Live Updates: The Complete OTA Guide](./capacitor-live-updates-guide.md)
