@nuxt/docs-nightly 4.3.0-29471775.8cf79c03 → 4.3.0-29473767.8c01e1ce

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,6 +95,10 @@ pnpm install animate.css
95
95
  bun install animate.css
96
96
  ```
97
97
 
98
+ ```bash [deno]
99
+ deno install npm:animate.css
100
+ ```
101
+
98
102
  ::
99
103
 
100
104
  Then you can reference it directly in your pages, layouts and components:
@@ -32,6 +32,10 @@ pnpm nuxt generate
32
32
  bun x nuxt generate
33
33
  ```
34
34
 
35
+ ```bash [deno]
36
+ deno x nuxt generate
37
+ ```
38
+
35
39
  ::
36
40
 
37
41
  You can now deploy the `.output/public` directory to any static hosting service or preview it locally with `npx serve .output/public`.
@@ -768,6 +768,9 @@ pnpm add -D @playwright/test @nuxt/test-utils
768
768
  ```bash [bun]
769
769
  bun add --dev @playwright/test @nuxt/test-utils
770
770
  ```
771
+ ```bash [deno]
772
+ deno add --dev npm:@playwright/test npm:@nuxt/test-utils
773
+ ```
771
774
  ::
772
775
 
773
776
  You can provide global Nuxt configuration, with the same configuration details as the `setup()` function mentioned earlier in this section.
@@ -28,6 +28,10 @@ pnpm nuxt upgrade
28
28
  bun x nuxt upgrade
29
29
  ```
30
30
 
31
+ ```bash [deno]
32
+ deno x nuxt upgrade
33
+ ```
34
+
31
35
  ::
32
36
 
33
37
  ### Nightly Release Channel
@@ -198,6 +202,10 @@ pnpm add nuxt@^4.0.0
198
202
  bun add nuxt@^4.0.0
199
203
  ```
200
204
 
205
+ ```bash [deno]
206
+ deno add npm:nuxt@^4.0.0
207
+ ```
208
+
201
209
  ::
202
210
 
203
211
  After upgrading, most Nuxt 4 behaviors are now the default. However, some features can still be configured if you need to maintain backward compatibility during your migration.
@@ -240,6 +248,11 @@ pnpm dlx codemod@0.18.7 nuxt/4/migration-recipe
240
248
  bun x codemod@0.18.7 nuxt/4/migration-recipe
241
249
  ```
242
250
 
251
+ ```bash [deno]
252
+ # Using pinned version due to https://github.com/codemod/codemod/issues/1710
253
+ deno x codemod@0.18.7 nuxt/4/migration-recipe
254
+ ```
255
+
243
256
  ::
244
257
 
245
258
  This command will execute all codemods in sequence, with the option to deselect any that you do not wish to run. Each codemod is also listed below alongside its respective change and can be executed independently.
@@ -253,6 +253,9 @@ pnpm add -D vue-gtag-next
253
253
  ```bash [bun]
254
254
  bun add -D vue-gtag-next
255
255
  ```
256
+ ```bash [deno]
257
+ deno add -D npm:vue-gtag-next
258
+ ```
256
259
  ::
257
260
 
258
261
  Then create a plugin file:
@@ -27,6 +27,10 @@ To enable type-checking at build or development time, install `vue-tsc` and `typ
27
27
  bun add -D vue-tsc typescript
28
28
  ```
29
29
 
30
+ ```bash [deno]
31
+ deno add -D npm:vue-tsc npm:typescript
32
+ ```
33
+
30
34
  ::
31
35
 
32
36
  Then, run [`nuxt typecheck`](/docs/4.x/api/commands/typecheck) command to check your types:
@@ -26,6 +26,10 @@ First, we need to install the Vite plugin, for our example, we'll use `@rollup/p
26
26
  bun add @rollup/plugin-yaml
27
27
  ```
28
28
 
29
+ ```bash [deno]
30
+ deno add npm:@rollup/plugin-yaml
31
+ ```
32
+
29
33
  ::
30
34
 
31
35
  Next, we need to import and add it to our [`nuxt.config.ts`](/docs/4.x/directory-structure/nuxt-config) file:
@@ -172,7 +172,7 @@ We recommend using [VS Code](https://code.visualstudio.com) along with the [ESLi
172
172
 
173
173
  #### No Prettier
174
174
 
175
- Since ESLint is already configured to format the code, there is no need to duplicate the functionality with Prettier. To format the code, you can run `yarn lint --fix`, `pnpm lint --fix`, or `bun run lint --fix` or referring the [ESLint section](/docs/4.x/community/contribution#use-eslint) for IDE Setup.
175
+ Since ESLint is already configured to format the code, there is no need to duplicate the functionality with Prettier. To format the code, you can run `yarn lint --fix`, `pnpm lint --fix`, `bun run lint --fix`, or `deno run lint --fix` or referring the [ESLint section](/docs/4.x/community/contribution#use-eslint) for IDE Setup.
176
176
 
177
177
  If you have Prettier installed in your editor, we recommend you disable it when working on the project to avoid conflict.
178
178
 
@@ -46,6 +46,10 @@ pnpm install
46
46
  bun install
47
47
  ```
48
48
 
49
+ ```bash [deno]
50
+ deno install
51
+ ```
52
+
49
53
  ::
50
54
 
51
55
  ::note
@@ -74,6 +78,10 @@ pnpm add -D @nuxt/bridge nuxi
74
78
  bun add -D @nuxt/bridge nuxi
75
79
  ```
76
80
 
81
+ ```bash [deno]
82
+ deno add -D npm:@nuxt/bridge npm:nuxi
83
+ ```
84
+
77
85
  ::
78
86
 
79
87
  ### Update `nuxt.config`
@@ -45,6 +45,10 @@ pnpm add -D nuxi
45
45
  bun add -D nuxi
46
46
  ```
47
47
 
48
+ ```bash [deno]
49
+ deno add -D npm:nuxi
50
+ ```
51
+
48
52
  ::
49
53
 
50
54
  ### Nuxi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/docs-nightly",
3
- "version": "4.3.0-29471775.8cf79c03",
3
+ "version": "4.3.0-29473767.8c01e1ce",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",