Skip to content

Commit efe912f

Browse files
committed
docs: more improvements
1 parent 521662a commit efe912f

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

docs/content/1.docs/1.getting-started/4.remote-storage.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Your project [must be deployed](/docs/getting-started/deploy) in order to use th
1717

1818
Once your project is deployed, you can use the remote storage in your local project.
1919

20+
:nuxt-img{src="/images/landing/nuxthub-schema.png" alt="NuxtHub Schema" width="766" height="498" data-zoom-src="/images/landing/nuxthub-schema.png"}
21+
2022
Start your Nuxt project with:
2123

2224
```bash [Terminal]
@@ -25,7 +27,7 @@ npx nuxt dev --remote
2527

2628
The development project will now use the remote storage from your deployed project and these logs should happen in your terminal:
2729

28-
```bash
30+
```bash [Terminal]
2931
ℹ Using production environment
3032
ℹ Using remote storage from https://my-project.nuxt.dev
3133
ℹ Remote storage available: database, kv, blob

docs/content/1.docs/1.getting-started/5.server-logs.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -9,36 +9,32 @@ When you have a successful deployment, you can access to the logs of the deploym
99

1010
Logs are available under the `Server > Logs` section of your project page. You can also access to the logs of each successful deployment in the `Deployments` section.
1111

12-
::a{href="https://admin.hub.nuxt.com"}
13-
:nuxt-img{src="/images/landing/nuxthub-admin-server-logs.png" alt="NuxtHub Admin Server Logs" width="915" height="515" data-zoom-src="/images/landing/nuxthub-admin-server-logs.png"}
14-
::
12+
:nuxt-img{src="/images/landing/nuxthub-admin-server-logs.png" alt="NuxtHub Admin Server Logs" width="915" height="515" data-zoom-src="/images/landing/nuxthub-admin-server-logs.png" class="rounded"}
1513

1614
## NuxtHub CLI
1715

1816
Using the [NuxtHub CLI](https://github.com/nuxt-hub/cli), you can access to the logs of both `production` and `preview` deployments.
1917

2018
By default, the CLI will detect based on the current branch the canonical deployment of your project and stream the logs of that deployment in the CLI.
2119

22-
```bash
20+
```bash [Terminal]
2321
nuxthub logs
2422
```
2523

26-
::a{href="https://github.com/nuxt-hub/cli"}
27-
:nuxt-img{src="/images/landing/nuxthub-cli-server-logs.png" alt="NuxtHub CLI Server Logs" width="915" height="515" data-zoom-src="/images/landing/nuxthub-cli-server-logs.png"}
28-
::
24+
:nuxt-img{src="/images/landing/nuxthub-cli-server-logs.png" alt="NuxtHub CLI Server Logs" width="915" height="515" data-zoom-src="/images/landing/nuxthub-cli-server-logs.png" class="rounded"}
2925

3026
### Production environment
3127

3228
To access the logs of the production environment, you can use the `--production` flag.
3329

34-
```bash
30+
```bash [Terminal]
3531
nuxthub logs --production
3632
```
3733

3834
### Preview environment
3935

4036
In preview environment, NuxtHub will stream the logs of the latest successful deployment in the CLI.
4137

42-
```bash
38+
```bash [Terminal]
4339
nuxthub logs --preview
4440
```

docs/content/5.blog/2.drawing-app-with-nuxt-and-cloudflare-r2.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ You can host your drawing application on a **free Cloudflare account** and **fre
405405

406406
All you have to do is to run one single command:
407407

408-
```bash
408+
```bash [Terminal]
409409
npx nuxthub deploy
410410
```
411411

@@ -431,11 +431,10 @@ If you prefer, you can also deploy this project using the NuxtHub Admin by click
431431

432432
Once your project is deployed, you can use [NuxtHub Remote Storage](/docs/getting-started/remote-storage) to connect to your preview or production Cloudflare R2 bucket in development using the `--remote` flag:
433433

434-
```bash
434+
```bash [Terminal]
435435
npx nuxt dev --remote
436436
```
437437

438-
439438
## Manage Drawings
440439

441440
Some users may draw inappropriate drawings that we may want to remove. For this, NuxtHub provides a Blob panel in both the Nuxt DevTools and the NuxtHub Admin.
@@ -454,7 +453,7 @@ You can manage all the drawings using the Blob panel in the NuxtHub Admin.
454453

455454
Once deployed, open the admin panel of your application with:
456455

457-
```bash
456+
```bash [Terminal]
458457
npx nuxthub manage
459458
```
460459

0 commit comments

Comments
 (0)