Commit 57ed91a 1 parent 24d71a7 commit 57ed91a Copy full SHA for 57ed91a
File tree 5 files changed +144
-178
lines changed
docs/content/1.getting-started
src/runtime/server/_plugins
5 files changed +144
-178
lines changed Original file line number Diff line number Diff line change @@ -17,23 +17,19 @@ Read more on https://docs.hub.nuxt.com
17
17
18
18
## Quick Setup
19
19
20
- 1 . Add ` @nuxthub/core ` dependency to your project
20
+ 1 . Install ` @nuxthub/core ` dependency to your project:
21
21
22
22
``` bash
23
- # Using pnpm
24
- pnpm add @nuxthub/core
25
-
26
- # Using yarn
27
- yarn add @nuxthub/core
23
+ npx nypm@latest add @nuxthub/core
24
+ ```
28
25
29
- # Using npm
30
- npm install @nuxthub/core
26
+ 2 . Install ` wrangler ` development dependency to your project:
31
27
32
- # Using bun
33
- npm add @nuxthub/core
28
+ ``` bash
29
+ npx nypm@latest add -D wrangler
34
30
```
35
31
36
- 2 . Add ` @nuxthub/core ` to the ` modules ` section of ` nuxt.config.ts `
32
+ 3 . Add ` @nuxthub/core ` to the ` modules ` section of ` nuxt.config.ts `
37
33
38
34
``` js
39
35
export default defineNuxtConfig ({
Original file line number Diff line number Diff line change @@ -28,7 +28,29 @@ bun add @nuxthub/core
28
28
29
29
::
30
30
31
- 2 . Add it to your ` modules ` section in your ` nuxt.config ` :
31
+ 2 . Install ` wrangler ` development dependency to your project:
32
+
33
+ :: code-group
34
+
35
+ ``` bash [pnpm]
36
+ pnpm add -D wrangler
37
+ ```
38
+
39
+ ``` bash [yarn]
40
+ yarn add --dev wrangler
41
+ ```
42
+
43
+ ``` bash [npm]
44
+ npm install --save-dev @nuxthub/core
45
+ ```
46
+
47
+ ``` bash [bun]
48
+ bun add --dev @nuxthub/core
49
+ ```
50
+
51
+ ::
52
+
53
+ 3 . Add it to your ` modules ` section in your ` nuxt.config ` :
32
54
33
55
``` ts [nuxt.config.ts]
34
56
export default defineNuxtConfig ({
Original file line number Diff line number Diff line change 51
51
"ufo" : " ^1.4.0" ,
52
52
"uncrypto" : " ^0.1.3" ,
53
53
"unstorage" : " ^1.10.1" ,
54
- "wrangler" : " ^3.29.0" ,
55
54
"zod" : " ^3.22.4"
56
55
},
57
56
"devDependencies" : {
65
64
"nuxt" : " ^3.10.3" ,
66
65
"typescript" : " ^5.3.3" ,
67
66
"vitest" : " ^1.3.1" ,
68
- "vue-tsc" : " ^1.8.27"
67
+ "vue-tsc" : " ^1.8.27" ,
68
+ "wrangler" : " ^3.29.0"
69
69
}
70
- }
70
+ }
You can’t perform that action at this time.
0 commit comments