Skip to content

Commit 5b5747c

Browse files
committed
docs: update nuxthub section
1 parent c07336e commit 5b5747c

File tree

1 file changed

+5
-26
lines changed

1 file changed

+5
-26
lines changed

docs/content/docs/6.deploy/3.nuxthub.md

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,18 @@ title: NuxtHub
33
description: Deploy your Content app to NuxtHub
44
---
55

6-
::card
7-
Quick Setup
8-
9-
1. Install the `@nuxthub/core` module `nuxi module add hub`
10-
2. Use `npx nuxthub deploy` to deploy your content to NuxtHub
11-
::
12-
13-
:hr
14-
156
Nuxt Content module has a built-in integration with [NuxtHub](https://hub.nuxt.com) to deploy your content.
167

178
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.
189

19-
```bash
10+
```bash [Terminal]
2011
npx nuxi module add hub
2112
```
2213

23-
That's it :tada:
24-
25-
Now you can use the `npx nuxthub deploy` command to deploy your content to NuxtHub.
14+
That's it 🎉
2615

27-
```bash
28-
npx nuxthub deploy
29-
```
30-
31-
32-
::note
33-
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.)
34-
35-
:br
36-
37-
You can override the database configuration by providing your own database configuration in `nuxt.config.ts`.
16+
::callout
17+
Nuxt Content module automatically reads the NuxtHub database options in order to share the same database to store the Nuxt Content data.
3818
::
3919

40-
41-
Checkout the [NuxtHub documentation](https://hub.nuxt.com/docs/getting-started/deploy) for more information.
20+
Checkout the [NuxtHub documentation](https://hub.nuxt.com) for more information.

0 commit comments

Comments
 (0)