From 643641d4891e2dc0ca261b594acefe3d4c4ac5c7 Mon Sep 17 00:00:00 2001 From: Chris Lloyd Date: Tue, 19 Apr 2022 17:50:04 +0100 Subject: [PATCH] docs: fix nitro preset names in examples (#4432) (#4433) Co-authored-by: Chris Lloyd --- docs/content/2.guide/5.deployment/99.presets/lambda.md | 2 +- docs/content/2.guide/5.deployment/99.presets/server.md | 2 +- .../content/2.guide/5.deployment/99.presets/service-worker.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/2.guide/5.deployment/99.presets/lambda.md b/docs/content/2.guide/5.deployment/99.presets/lambda.md index 192e786dc0..47c1fd7614 100644 --- a/docs/content/2.guide/5.deployment/99.presets/lambda.md +++ b/docs/content/2.guide/5.deployment/99.presets/lambda.md @@ -21,7 +21,7 @@ export default { Or directly use the `NITRO_PRESET` environment variable when running `nuxt build`: ```bash -NITRO_PRESET=lambda npx nuxt build +NITRO_PRESET=aws-lambda npx nuxt build ``` ::alert diff --git a/docs/content/2.guide/5.deployment/99.presets/server.md b/docs/content/2.guide/5.deployment/99.presets/server.md index a5fa4abd67..aa17052cfb 100644 --- a/docs/content/2.guide/5.deployment/99.presets/server.md +++ b/docs/content/2.guide/5.deployment/99.presets/server.md @@ -28,7 +28,7 @@ export default { Or directly use the `NITRO_PRESET` environment variable when running `nuxt build`: ```bash -NITRO_PRESET=server npx nuxt build +NITRO_PRESET=node-server npx nuxt build ``` ## Entry point diff --git a/docs/content/2.guide/5.deployment/99.presets/service-worker.md b/docs/content/2.guide/5.deployment/99.presets/service-worker.md index c93f6c8686..be499da71f 100644 --- a/docs/content/2.guide/5.deployment/99.presets/service-worker.md +++ b/docs/content/2.guide/5.deployment/99.presets/service-worker.md @@ -24,7 +24,7 @@ You can use the [Nuxt config](/guide/directory-structure/nuxt.config) to explici ```js [nuxt.config.js|ts] export default { nitro: { - 'browser-worker' + 'service-worker' } } ``` @@ -32,7 +32,7 @@ export default { Or directly use the `NITRO_PRESET` environment variable when running `nuxt build`: ```bash -NITRO_PRESET=worker npx nuxt build +NITRO_PRESET=service-worker npx nuxt build ``` ## Entry point