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/1.getting-started/3.deploy.md
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -59,19 +59,24 @@ For that, you need to create the necessary resources in your Cloudflare account
59
59
- Two [KV namespaces](https://dash.cloudflare.com/?to=/:account/workers/kv/namespaces) (one for `hubKV()` and one for [server caching](https://nitro.unjs.io/guide/cache))
60
60
- One [R2 bucket](https://dash.cloudflare.com/?to=/:account/r2/new)
61
61
62
+
::note
63
+
You only need to create these resources if you have explicitly enabled them in the Hub Config.
64
+
::
65
+
62
66
Then, create a [Cloudflare Pages project](https://dash.cloudflare.com/?to=/:account/pages/new/provider/github) and link your GitHub or Gitlab repository and choose the Nuxt Framework preset in the build settings.
63
67
64
68
Once your project is created, open the `Settings -> Functions` tab and set:
65
69
- Placement: Smart
66
70
- KV namespace bindings
67
-
-`KV`-> select your KV namespace created
68
-
-`CACHE`-> select your KV namespace for caching created
71
+
-Set the variable name as `KV`and select your KV namespace created
72
+
-Set the variable name as `CACHE`and select your KV namespace for caching created
69
73
- R2 bucket bindings
70
-
-`BLOB`-> select your R2 bucket created
74
+
-Set the variable name as `BLOB`and select your R2 bucket created
71
75
- D1 database bindings
72
-
-`DB` -> select your D1 database created
76
+
- Set the variable name as `DB` and select your D1 database created
77
+
73
78
74
-
Go back to the `Deployment` tab and retry the last deployment by clicing on `...` then `Retry deployment`.
79
+
Go back to the `Deployment` tab and retry the last deployment by clicking on `...` then `Retry deployment`.
75
80
76
81
::tip
77
82
Once the deployment is done, you should be able to use `npx nuxt dev --remote` after [configuring the remote storage](/docs/getting-started/remote-storage#self-hosted)
0 commit comments