@nuxt/docs-nightly 5.0.0-29840901.c51de4f7 → 5.0.0-29840943.aa83f75b

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.
@@ -244,6 +244,24 @@ export default defineNuxtConfig({
244
244
  })
245
245
  ```
246
246
 
247
+ ## serverPathFallback
248
+
249
+ Loads a client-side navigation that matches no page route as a full document, so the server can respond with a file in `public/`, a server route, or its 404 page. With this enabled, `<NuxtLink to="/brochure.pdf">` and `<NuxtLink to="/rss.xml">` work on click as they do on a hard load.
250
+
251
+ A path is never reloaded if the current document was already served for it, so hosts that respond to unknown paths with an SPA fallback render the client-side 404 page.
252
+
253
+ This flag is enabled by default, but you can disable it:
254
+
255
+ ```ts twoslash [nuxt.config.ts]
256
+ export default defineNuxtConfig({
257
+ experimental: {
258
+ serverPathFallback: false,
259
+ },
260
+ })
261
+ ```
262
+
263
+ The option has no effect when `hashMode` is enabled.
264
+
247
265
  ## early404
248
266
 
249
267
  Responds with an early 404 error for requests whose path cannot match any page route, without loading the Vue app, its plugins or middleware on the server.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/docs-nightly",
3
- "version": "5.0.0-29840901.c51de4f7",
3
+ "version": "5.0.0-29840943.aa83f75b",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",