From ef2298f14cdec83927ce5aa2161e5914864a7f9d Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 21 Sep 2021 19:49:16 +0100 Subject: [PATCH] docs: update `render.static` false option context: nuxt/nuxt.js#9365 --- .../5.configuration-glossary/23.configuration-render.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/5.configuration-glossary/23.configuration-render.md b/content/en/docs/5.configuration-glossary/23.configuration-render.md index da8957b2f1..7e2d48fae2 100644 --- a/content/en/docs/5.configuration-glossary/23.configuration-render.md +++ b/content/en/docs/5.configuration-glossary/23.configuration-render.md @@ -172,12 +172,12 @@ To collapse the logs, use `'collapsed'` value. ## static -- Type: `Object` +- Type: `Object` or `false` - Default: `{}` -> Configure the `static/` directory behavior +> Configure `static/` directory behavior -See [serve-static](https://www.npmjs.com/package/serve-static) docs for possible options. +See [serve-static](https://www.npmjs.com/package/serve-static) docs for possible options. Alternatively, you can pass `false` to disable `serve-static` middleware entirely for the `static/` directory (for example, if you are hosting these files on a CDN). Additional to them, we introduced a `prefix` option which defaults to `true`. It will add the router base to your static assets.