docs: fix nitro preset names in examples (#4432) (#4433)

Co-authored-by: Chris Lloyd <chris.yagro.com>
This commit is contained in:
Chris Lloyd 2022-04-19 17:50:04 +01:00 committed by GitHub
parent 74ce29b329
commit 643641d489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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