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/1.getting-started/1.index.md
+6-45
Original file line number
Diff line number
Diff line change
@@ -3,51 +3,12 @@ title: Introduction
3
3
description: Welcome to NuxtHub documentation.
4
4
---
5
5
6
-
This template is a ready-to-use documentation template made with [Nuxt UI Pro](https://ui.nuxt.com/pro), a collection of premium components built on top of [Nuxt UI](https://ui.nuxt.com) to create beautiful & responsive Nuxt applications in minutes.
7
-
8
-
There are already many websites based on this template:
9
-
10
-
-[Nuxt](https://nuxt.com) - The Nuxt website
11
-
-[Nuxt UI](https://ui.nuxt.com) - The documentation of `@nuxt/ui` and `@nuxt/ui-pro`
12
-
-[Nuxt Image](https://image.nuxt.com) - The documentation of `@nuxt/image`
13
-
-[Nuxt Content](https://content.nuxt.com) - The documentation of `@nuxt/content`
14
-
-[Nuxt Devtools](https://devtools.nuxt.com) - The documentation of `@nuxt/devtools`
15
-
-[Nuxt Studio](https://nuxt.studio) - The pro version of Nuxt Content
6
+
NuxtHub is a Nuxt Toolkit to create full-stack applications on the Edge. It is powered by Cloudflare Pages and leverages many Cloudflare features like KV, D1 and R2 to allow a complete backend experience.
16
7
17
8
## Features
18
9
19
-
- Powered by [Nuxt 3](https://nuxt.com)
20
-
- Built with [Nuxt UI](https://ui.nuxt.com) and [Nuxt UI Pro](https://ui.nuxt.com/pro)
21
-
- Write content with [MDC syntax](https://content.nuxt.com/usage/markdown) thanks to [Nuxt Content](https://content.nuxt.com)
22
-
- Compatible with [Nuxt Studio](https://nuxt.studio)
23
-
- Auto-generated sidebar navigation
24
-
- Full-Text Search out of the box
25
-
- Beautiful Typography styles
26
-
- Dark mode support
27
-
- And more...
28
-
29
-
## Play online
30
-
31
-
You can start playing with this template in your browser using our online sandboxes:
32
-
33
-
::u-button
34
-
---
35
-
class: mr-4
36
-
icon: i-simple-icons-stackblitz
37
-
label: Play on StackBlitz
38
-
target: _blank
39
-
to: https://stackblitz.com/github/nuxt-ui-pro/docs/
40
-
---
41
-
::
42
-
43
-
::u-button
44
-
---
45
-
class: mt-2 sm:mt-0
46
-
icon: i-simple-icons-codesandbox
47
-
label: Play on CodeSandbox
48
-
target: _blank
49
-
to: https://codesandbox.io/s/github/nuxt-ui-pro/docs/
50
-
---
51
-
::
52
-
53
-
Or open [Nuxt UI playground](https://ui.nuxt.com/playground).
10
+
- Session management
11
+
- Query a SQLite database with [Database](/usage/database)
Begin your journey with NuxtHub using this step-by-step tutorial, designed for developers seeking an all-in-one platform to create and deploy web applications.
7
+
8
+
## Setup
9
+
10
+
1. Install NuxtHub module to your project:
11
+
12
+
::code-group
13
+
14
+
```bash [pnpm]
15
+
pnpm add @nuxthub/core
16
+
```
17
+
18
+
```bash [yarn]
19
+
yarn add @nuxthub/core
20
+
```
21
+
22
+
```bash [npm]
23
+
npm install @nuxthub/core
24
+
```
25
+
26
+
```bash [bun]
27
+
bun add @nuxthub/core
28
+
```
29
+
30
+
::
31
+
32
+
2. Add it to your `modules` section in your `nuxt.config`:
description: How to deploy your project with NuxtHub.
4
+
---
5
+
6
+
To deploy your Nuxt application on the Edge, we use Cloudflare Pages. Therefore, we require you to create a [Cloudflare](https://www.cloudflare.com/){target=_blank} account.
7
+
8
+
Then two options are offered to you:
9
+
10
+
## Using hub.nuxt.com
11
+
12
+
The [NuxtHub admin](https://hub.nuxt.com){target=_blank} is designed to simplify your experience with the NuxtHub module, enabling you to effortlessly manage teams and projects, as well as deploy in seconds combined with the NuxtHub CLI.
13
+
14
+
### Setup your team
15
+
16
+
First, you need to connect to [NuxtHub admin](https://hub.nuxt.com){target=_blank}. A default team is automatically created for you and you will be able to update it in the settings.
17
+
18
+
Next, you are invited to setup your team with Cloudflare, meaning you need to link it to your Cloudflare account. Follow the instructions by creating an access token on Cloudflare, then linking it to the team in the admin.
19
+
20
+
Done? Now your team is connected to Cloudflare.
21
+
22
+
### Setup your project
23
+
24
+
From here, you can either create your project in the admin or with the CLI.
25
+
26
+
#### Admin
27
+
28
+
<!-- TODO -->
29
+
30
+
#### CLI
31
+
32
+
Then, install NuxtHub CLI with any binaries manager (we recommand Volta.sh):
33
+
34
+
```bash
35
+
volta install nuxthub
36
+
```
37
+
38
+
Then open a terminal in at the root of your project and run:
39
+
40
+
```bash
41
+
nuxthub deploy
42
+
```
43
+
44
+
This command will:
45
+
46
+
1. Ask you to connect to hub.nuxt.com, if not already logged in
47
+
2. Link your local project with a NuxtHub project, if not already linked
48
+
- Select a team
49
+
- Select or create a project
50
+
3. ?
51
+
52
+
<!-- TODO -->
53
+
54
+
## On your own
55
+
56
+
Even if you don't want to use NuxtHub admin, you can use the NuxtHub module.
NuxtHub Analytics is a layer to [Cloudflare Workers Analytics Engine](https://developers.cloudflare.com/analytics/analytics-engine/), allowing to get analytics about anything.
0 commit comments