Deploy

NuxtHub

Deploy your Content app to NuxtHub

Quick Setup

  1. Install the @nuxthub/core module nuxi module add hub
  2. Use npx nuxthub deploy to deploy your content to NuxtHub


Nuxt Content module has a built-in integration with NuxtHub to deploy your content.

To enable NuxtHub integration, you need to install the @nuxthub/core module and register it in your nuxt.config.ts. More efficiently, you can use nuxi module command to do both at once.

npx nuxi module add hub

That's it 🎉

Now you can use the npx nuxthub deploy command to deploy your content to NuxtHub.

npx nuxthub deploy
Nuxt Content module automatically enables NuxtHub database. And update database configuration to use Cloudflare D1 with DB binding name. (This is default configuration for NuxtHub database.)
You can override the database configuration by providing your own database configuration in nuxt.config.ts.

Checkout the NuxtHub documentation for more information.