You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/docs/6.deploy/3.nuxthub.md
+5-26Lines changed: 5 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,39 +3,18 @@ title: NuxtHub
3
3
description: Deploy your Content app to NuxtHub
4
4
---
5
5
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
-
15
6
Nuxt Content module has a built-in integration with [NuxtHub](https://hub.nuxt.com) to deploy your content.
16
7
17
8
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.
18
9
19
-
```bash
10
+
```bash [Terminal]
20
11
npx nuxi module add hub
21
12
```
22
13
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 🎉
26
15
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.
38
18
::
39
19
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