@nuxt/docs-nightly 4.4.0-29545160.b3b2cb82 → 4.4.0-29545225.86407d3b

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.
@@ -238,19 +238,12 @@ export default defineNuxtConfig({
238
238
 
239
239
  ## payloadExtraction
240
240
 
241
- Controls how payload data is delivered for prerendered and cached (ISR/SWR) pages.
242
-
243
- - `'client'` - Payload is inlined in HTML for the initial server render, and extracted to `_payload.json` files for client-side navigation. This avoids a separate network request on initial load while still enabling efficient client-side navigation.
244
- - `true` - Payload is extracted to a separate `_payload.json` file for both the initial server render and client-side navigation.
245
- - `false` - Payload extraction is disabled entirely. Payload is always inlined in HTML and no `_payload.json` files are generated.
246
-
247
- The default is `true`, or `'client'` when `compatibilityVersion: 5` is set.
241
+ Enables extraction of payloads of pages generated with `nuxt generate`.
248
242
 
249
243
  ```ts twoslash [nuxt.config.ts]
250
244
  export default defineNuxtConfig({
251
245
  experimental: {
252
- // Inline payload in HTML, extract for client-side navigation only
253
- payloadExtraction: 'client',
246
+ payloadExtraction: true,
254
247
  },
255
248
  })
256
249
  ```
@@ -260,7 +253,7 @@ Payload extraction also works for routes using ISR (Incremental Static Regenerat
260
253
  ```ts twoslash [nuxt.config.ts]
261
254
  export default defineNuxtConfig({
262
255
  experimental: {
263
- payloadExtraction: 'client',
256
+ payloadExtraction: true,
264
257
  },
265
258
  routeRules: {
266
259
  // Payload files will be generated for these cached routes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/docs-nightly",
3
- "version": "4.4.0-29545160.b3b2cb82",
3
+ "version": "4.4.0-29545225.86407d3b",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",