File tree Expand file tree Collapse file tree 5 files changed +144
-178
lines changed
docs/content/1.getting-started
src/runtime/server/_plugins Expand file tree Collapse file tree 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
1717
1818## Quick Setup
1919
20- 1 . Add ` @nuxthub/core ` dependency to your project
20+ 1 . Install ` @nuxthub/core ` dependency to your project:
2121
2222``` 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+ ```
2825
29- # Using npm
30- npm install @nuxthub/core
26+ 2 . Install ` wrangler ` development dependency to your project:
3127
32- # Using bun
33- npm add @nuxthub/core
28+ ``` bash
29+ npx nypm@latest add -D wrangler
3430```
3531
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 `
3733
3834``` js
3935export default defineNuxtConfig ({
Original file line number Diff line number Diff line change @@ -28,7 +28,29 @@ bun add @nuxthub/core
2828
2929::
3030
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 ` :
3254
3355``` ts [nuxt.config.ts]
3456export default defineNuxtConfig ({
Original file line number Diff line number Diff line change 5151 "ufo" : " ^1.4.0" ,
5252 "uncrypto" : " ^0.1.3" ,
5353 "unstorage" : " ^1.10.1" ,
54- "wrangler" : " ^3.29.0" ,
5554 "zod" : " ^3.22.4"
5655 },
5756 "devDependencies" : {
6564 "nuxt" : " ^3.10.3" ,
6665 "typescript" : " ^5.3.3" ,
6766 "vitest" : " ^1.3.1" ,
68- "vue-tsc" : " ^1.8.27"
67+ "vue-tsc" : " ^1.8.27" ,
68+ "wrangler" : " ^3.29.0"
6969 }
70- }
70+ }
You can’t perform that action at this time.
0 commit comments